diff options
-rw-r--r-- | lib/optparse/optparse.h | 2 | ||||
-rw-r--r-- | lib/optparse/readme.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/optparse/optparse.h b/lib/optparse/optparse.h index 8d6c0a9..9b7c7f8 100644 --- a/lib/optparse/optparse.h +++ b/lib/optparse/optparse.h @@ -288,7 +288,7 @@ optparse_from_long(const struct optparse_long *longopts, char *optstring) for (i = 0; !optparse_longopts_end(longopts, i); i++) { if (longopts[i].shortname && longopts[i].shortname < 127) { int a; - *p++ = longopts[i].shortname; + *p++ = (char)longopts[i].shortname; for (a = 0; a < (int)longopts[i].argtype; a++) *p++ = ':'; } diff --git a/lib/optparse/readme.txt b/lib/optparse/readme.txt new file mode 100644 index 0000000..065a78c --- /dev/null +++ b/lib/optparse/readme.txt @@ -0,0 +1 @@ +https://github.com/skeeto/optparse/tree/a86877ed301d89a4eb64feb08f23af395aede2ed |