aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-09-06 12:21:28 -0500
committerRob Landley <rob@landley.net>2013-09-06 12:21:28 -0500
commit12c8814cc534f40ca74441f99313f7a71a88cb72 (patch)
tree480dfbd968f686c460520466a41bedd5adf28aee /lib
parentc8a49971cbec622573980c276c860aa43ba43b36 (diff)
downloadtoybox-12c8814cc534f40ca74441f99313f7a71a88cb72.tar.gz
Ashwini Sharma submitted route.c, adding it to pending.
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.h2
-rw-r--r--lib/pending.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 26465ad4..09a68252 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -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;