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
Pass an unsigned character to isdigit().
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
4687802
..
3876ce0
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-736,9
+736,9
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
break;
case OPT_MAX_SIZE:
break;
case OPT_MAX_SIZE:
- for (arg = max_size_arg; isdigit(*arg); arg++) {}
+ for (arg = max_size_arg; isdigit(*
(uchar*)
arg); arg++) {}
if (*arg == '.')
if (*arg == '.')
- for (arg++; isdigit(*arg); arg++) {}
+ for (arg++; isdigit(*
(uchar*)
arg); arg++) {}
switch (*arg) {
case 'k': case 'K':
max_size = atof(max_size_arg) * 1024;
switch (*arg) {
case 'k': case 'K':
max_size = atof(max_size_arg) * 1024;