Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved the depth calculation in sanitize_path() so that it properly
[rsync/rsync.git]
/
popt
/
popthelp.c
diff --git
a/popt/popthelp.c
b/popt/popthelp.c
index
5c80094
..
1ddb895
100644
(file)
--- a/
popt/popthelp.c
+++ b/
popt/popthelp.c
@@
-191,11
+191,11
@@
static void singleOptionHelp(FILE * fp, int maxLeftCol,
{
int indentLength = maxLeftCol + 5;
int lineLength = 79 - indentLength;
{
int indentLength = maxLeftCol + 5;
int lineLength = 79 - indentLength;
- const char * help = D_(translation_domain, opt->descrip);
+ const
unsigned
char * help = D_(translation_domain, opt->descrip);
const char * argDescrip = getArgDescrip(opt, translation_domain);
int helpLength;
const char * argDescrip = getArgDescrip(opt, translation_domain);
int helpLength;
- char * defs = NULL;
- char * left;
+
unsigned
char * defs = NULL;
+
unsigned
char * left;
int nb = maxLeftCol + 1;
/* Make sure there's more than enough room in target buffer. */
int nb = maxLeftCol + 1;
/* Make sure there's more than enough room in target buffer. */
@@
-314,7
+314,7
@@
static void singleOptionHelp(FILE * fp, int maxLeftCol,
helpLength = strlen(help);
while (helpLength > lineLength) {
helpLength = strlen(help);
while (helpLength > lineLength) {
- const char * ch;
+ const
unsigned
char * ch;
char format[10];
ch = help + lineLength - 1;
char format[10];
ch = help + lineLength - 1;