diff --git a/src/userinput.c b/src/userinput.c index 755e748..7f8f890 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -190,4 +190,10 @@ unsigned short gethu(char *message, unsigned short *min, unsigned short *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, 0, USHRT_MAX); +} + +unsigned int getu(char *message, unsigned int *min, unsigned int *max) { + LD(min) + LD(max) + return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX); } \ No newline at end of file