diff options
| -rw-r--r-- | meta-oe/recipes-core/usleep/files/usleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-core/usleep/files/usleep.c b/meta-oe/recipes-core/usleep/files/usleep.c index a5e7d9d715..dfa52ec19a 100644 --- a/meta-oe/recipes-core/usleep/files/usleep.c +++ b/meta-oe/recipes-core/usleep/files/usleep.c | |||
| @@ -34,7 +34,7 @@ int main(int argc, char **argv) { | |||
| 34 | int showVersion = 0; | 34 | int showVersion = 0; |
| 35 | int showOot = 0; | 35 | int showOot = 0; |
| 36 | int rc; | 36 | int rc; |
| 37 | char * countStr = NULL; | 37 | const char * countStr = NULL; |
| 38 | struct poptOption options[] = { | 38 | struct poptOption options[] = { |
| 39 | { "version", 'v', POPT_ARG_NONE, &showVersion, 0, | 39 | { "version", 'v', POPT_ARG_NONE, &showVersion, 0, |
| 40 | "Display the version of this program, and exit" }, | 40 | "Display the version of this program, and exit" }, |
| @@ -44,7 +44,7 @@ int main(int argc, char **argv) { | |||
| 44 | { 0, 0, 0, 0, 0 } | 44 | { 0, 0, 0, 0, 0 } |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | optCon = poptGetContext("usleep", argc, argv, options,0); | 47 | optCon = poptGetContext("usleep", argc, (const char **)argv, options,0); |
| 48 | /*poptReadDefaultConfig(optCon, 1);*/ | 48 | /*poptReadDefaultConfig(optCon, 1);*/ |
| 49 | poptSetOtherOptionHelp(optCon, "[microseconds]"); | 49 | poptSetOtherOptionHelp(optCon, "[microseconds]"); |
| 50 | 50 | ||
