Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
warnings-=2
authorAugustin Degomme <adegomme@gmail.com>
Tue, 14 May 2019 14:21:44 +0000 (16:21 +0200)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 14 May 2019 14:21:44 +0000 (16:21 +0200)
teshsuite/smpi/privatization/privatization.c
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c

index df6b5f5..143b479 100644 (file)
@@ -8,7 +8,7 @@ static int myvalue = 0;
 static void test_opts(int* argc, char **argv[]){
   int found = 0;
   static struct option long_options[] = {
 static void test_opts(int* argc, char **argv[]){
   int found = 0;
   static struct option long_options[] = {
-  {"long",     no_argument, 0,  0 },
+  {(char*)"long",     no_argument, 0,  0 },
   {0,         0,                 0,  0 }
   };
   while (1) {
   {0,         0,                 0,  0 }
   };
   while (1) {
index 00de44c..0a76bed 100644 (file)
@@ -15,7 +15,7 @@ static void test_opts(int* argc, char **argv[]){
   int found = 0;
   int option_index = 0;
   static struct option long_options[] = {
   int found = 0;
   int option_index = 0;
   static struct option long_options[] = {
-  {"long",     no_argument, 0,  0 },
+  {(char*)"long",     no_argument, 0,  0 },
   {0,         0,                 0,  0 }
   };
   while (1) {
   {0,         0,                 0,  0 }
   };
   while (1) {