summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-09 02:55:32 +0000
committerWayne Davison <wayned@samba.org>2006-11-09 02:55:32 +0000
commit564782ba95755052db12357fe59f81877b0adfa1 (patch)
treef2c09ca0a2c9c3fde1d4138dadc8f3bd779895e5 /popt
parent2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8 (diff)
downloadrsync-564782ba95755052db12357fe59f81877b0adfa1.tar.gz
Disable POPT_WCHAR_HACK for now.
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;