aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple-arg.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libsimple-arg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsimple-arg.h b/libsimple-arg.h
index 67be5e9..1d52b33 100644
--- a/libsimple-arg.h
+++ b/libsimple-arg.h
@@ -436,7 +436,7 @@ struct longopt {
static _LIBSIMPLE_NORETURN void\
usage(void)\
{\
- const char *syn = SYNOPSIS ? SYNOPSIS : "";\
+ const char *syn = (const char *)SYNOPSIS ? SYNOPSIS : "";\
fprintf(stderr, "usage: %s%s%s\n", argv0, *syn ? " " : "", syn);\
exit(STATUS);\
}\