Disable POPT_WCHAR_HACK for now.
authorWayne Davison <wayned@samba.org>
Thu, 9 Nov 2006 02:55:32 +0000 (02:55 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 9 Nov 2006 02:55:32 +0000 (02:55 +0000)
popt/popthelp.c

index 7056054..ba8d024 100644 (file)
@@ -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;