Francois Perrad před 10 roky
rodič
revize
4f8070f9bf
11 změnil soubory, kde provedl 11 přidání a 11 odebrání
  1. 1 1
      tests/test41.c
  2. 1 1
      tests/test42.c
  3. 1 1
      tests/test63.c
  4. 1 1
      tests/test64.c
  5. 1 1
      tests/test68.c
  6. 1 1
      tests/test69.c
  7. 1 1
      tests/test70.c
  8. 1 1
      tests/test71.c
  9. 1 1
      tests/test72.c
  10. 1 1
      tests/test73.c
  11. 1 1
      tests/test78.c

+ 1 - 1
tests/test41.c

@@ -10,7 +10,7 @@ int main(int argc, char *argv[]) {
     int i;
     el *head = NULL;
     el els[10], *e, *tmp, *tmp2;
-    for(i=0;i<10;i++) els[i].id='a'+i;
+    for(i=0;i<10;i++) els[i].id=(int)'a'+i;
 
     /* test CDL macros */
     printf("CDL macros\n");

+ 1 - 1
tests/test42.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     int i;
     el *head = NULL;
     el els[10], *e, *tmp, *tmp2;
-    for(i=0;i<10;i++) els[i].id='a'+i;
+    for(i=0;i<10;i++) els[i].id=(int)'a'+i;
 
     /* test LL macros */
     printf("LL macros\n");

+ 1 - 1
tests/test63.c

@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) {
     el els[10], *e;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<10;i++) els[i].id='a'+i;
+    for(i=0;i<10;i++) els[i].id=(int)'a'+i;
 
     /* test LL macros */
     printf("LL macros\n");

+ 1 - 1
tests/test64.c

@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) {
     el els[10], *e;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<10;i++) els[i].id='a'+i;
+    for(i=0;i<10;i++) els[i].id=(int)'a'+i;
 
     /* test DL macros */
     printf("DL macros\n");

+ 1 - 1
tests/test68.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[20], *e, *tmp;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<20;i++) els[i].id='a'+i;
+    for(i=0;i<20;i++) els[i].id=(int)'a'+i;
 
     /* test DL macros */
     printf("DL replace elem\n");

+ 1 - 1
tests/test69.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[26], *e, *tmp;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<25;i++) els[i].id='a'+i;
+    for(i=0;i<25;i++) els[i].id=(int)'a'+i;
 
     /* test DL macros */
     printf("DL prepend elem\n");

+ 1 - 1
tests/test70.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[20], *e, *tmp;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<20;i++) els[i].id='a'+i;
+    for(i=0;i<20;i++) els[i].id=(int)'a'+i;
 
     /* test LL macros */
     printf("LL replace elem\n");

+ 1 - 1
tests/test71.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[26], *e, *tmp;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<25;i++) els[i].id='a'+i;
+    for(i=0;i<25;i++) els[i].id=(int)'a'+i;
 
     /* test LL macros */
     printf("LL prepend elem\n");

+ 1 - 1
tests/test72.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[20], *e, *tmp, *tmp2;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<20;i++) els[i].id='a'+i;
+    for(i=0;i<20;i++) els[i].id=(int)'a'+i;
 
     /* test CDL macros */
     printf("CDL replace elem\n");

+ 1 - 1
tests/test73.c

@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
     el els[26], *e, *tmp, *tmp2;
     el *headA = NULL;
     el *headB = NULL;
-    for(i=0;i<25;i++) els[i].id='a'+i;
+    for(i=0;i<25;i++) els[i].id=(int)'a'+i;
 
     /* test CDL macros */
     printf("CDL prepend elem\n");

+ 1 - 1
tests/test78.c

@@ -10,7 +10,7 @@ int main(int argc, char *argv[]) {
     int i;
     el els[10], *e;
     el *head = NULL;
-    for(i=0;i<10;i++) els[i].id='a'+i;
+    for(i=0;i<10;i++) els[i].id=(int)'a'+i;
 
     /* test CDL macros */
     printf("CDL macros\n");