aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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;