diff --git a/src/userinput.c b/src/userinput.c index 4b641fa..089a31f 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -199,7 +199,7 @@ unsigned int getu(char *message, unsigned int *min, unsigned int *max) { return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX); } -unsigned long getul(char *message, unsigned long *min, unsigned long *max) { +unsigned long getlu(char *message, unsigned long *min, unsigned long *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, 0, ULONG_MAX); diff --git a/src/userinput.h b/src/userinput.h index 9339d55..e8105d5 100644 --- a/src/userinput.h +++ b/src/userinput.h @@ -7,7 +7,7 @@ long getld(char *message, long *min, long *max); long long getlld(char *message, long long *min, long long *max); unsigned short gethu(char *message, unsigned short *min, unsigned short *max); unsigned int getu(char *message, unsigned int *min, unsigned int *max); -unsigned long getul(char *message, unsigned long *min, unsigned long *max); +unsigned long getlu(char *message, unsigned long *min, unsigned long *max); unsigned long long getull(char *message, unsigned long long *min, unsigned long long *max); double getlf(char *message, double *min, double *max, double *greaterThan, double *smallerThan); #endif