Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Extend index to save more flags
[gitweb.git]
/
test-parse-options.c
diff --git
a/test-parse-options.c
b/test-parse-options.c
index 6e18083a7d1655e9eabef197c58d92a910d2f67b..61d2c39814529bd0264e4c9e40241131d51d819c 100644
(file)
--- a/
test-parse-options.c
+++ b/
test-parse-options.c
@@
-15,7
+15,7
@@
int length_callback(const struct option *opt, const char *arg, int unset)
if (unset)
return 1; /* do not support unset */
- *(
unsigned long
*)opt->value = strlen(arg);
+ *(
int
*)opt->value = strlen(arg);
return 0;
}