summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
Diffstat (limited to 'popt')
-rw-r--r--popt/popthelp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popt/popthelp.c b/popt/popthelp.c
index 70560540..ba8d0243 100644
--- a/popt/popthelp.c
+++ b/popt/popthelp.c
@@ -10,7 +10,7 @@
#include "system.h"
-#define POPT_WCHAR_HACK
+/*#define POPT_WCHAR_HACK*/
#ifdef POPT_WCHAR_HACK
#include <wchar.h> /* for mbsrtowcs */
/*@access mbstate_t @*/
@@ -360,7 +360,7 @@ static void singleOptionHelp(FILE * fp, size_t maxLeftCol,
/*@=boundswrite@*/
if (help)
- fprintf(fp," %-*s ", maxLeftCol+displaypad, left);
+ fprintf(fp," %-*s ", (int)maxLeftCol+displaypad, left);
else {
fprintf(fp," %s\n", left);
goto out;