Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc7b8b
)
Disable POPT_WCHAR_HACK for now.
author
Wayne Davison
<wayned@samba.org>
Thu, 9 Nov 2006 02:55:32 +0000
(
02:55
+0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 9 Nov 2006 02:55:32 +0000
(
02:55
+0000)
popt/popthelp.c
patch
|
blob
|
blame
|
history
diff --git
a/popt/popthelp.c
b/popt/popthelp.c
index
7056054
..
ba8d024
100644
(file)
--- 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;