diff options
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; |