From 2162cc6b6137afd2ad6d62353778caced5ec88a1 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 14 May 2019 16:21:44 +0200 Subject: [PATCH] warnings-=2 --- teshsuite/smpi/privatization/privatization.c | 2 +- teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/teshsuite/smpi/privatization/privatization.c b/teshsuite/smpi/privatization/privatization.c index df6b5f5342..143b479ad9 100644 --- a/teshsuite/smpi/privatization/privatization.c +++ b/teshsuite/smpi/privatization/privatization.c @@ -8,7 +8,7 @@ static int myvalue = 0; 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) { diff --git a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c index 00de44cb13..0a76bed2fb 100644 --- a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c +++ b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c @@ -15,7 +15,7 @@ static void test_opts(int* argc, char **argv[]){ 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) { -- 2.20.1