diff options
author | Rob Landley <rob@landley.net> | 2013-09-06 12:21:28 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-09-06 12:21:28 -0500 |
commit | 12c8814cc534f40ca74441f99313f7a71a88cb72 (patch) | |
tree | 480dfbd968f686c460520466a41bedd5adf28aee /lib | |
parent | c8a49971cbec622573980c276c860aa43ba43b36 (diff) | |
download | toybox-12c8814cc534f40ca74441f99313f7a71a88cb72.tar.gz |
Ashwini Sharma submitted route.c, adding it to pending.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.h | 2 | ||||
-rw-r--r-- | lib/pending.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -190,7 +190,7 @@ int read_password(char * buff, int buflen, char* mesg); int update_password(char *filename, char* username, char* encrypted); // cut helper functions -unsigned long get_int_value(const char *numstr, unsigned lowrange, unsigned highrange); +unsigned long get_int_value(const char *numstr, unsigned long lowrange, unsigned long highrange); // grep helper functions char *astrcat (char *, char *); diff --git a/lib/pending.c b/lib/pending.c index 9c92f2ce..9e250854 100644 --- a/lib/pending.c +++ b/lib/pending.c @@ -39,7 +39,7 @@ done: /* * used to get the interger value. */ -unsigned long get_int_value(const char *numstr, unsigned lowrange, unsigned highrange) +unsigned long get_int_value(const char *numstr, unsigned long lowrange, unsigned long highrange) { unsigned long rvalue = 0; char *ptr; |