+2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/getdef.c: Fix the getdef_ulong() prototype.
+ * lib/getdef.h: Fix the getdef_ulong() prototype.
+
2008-06-14 Nicolas François <nicolas.francois@centraliens.net>
* src/lastlog.c: Use getrange to parse the range of users.
* values are handled.
*/
-unsigned long getdef_ulong (const char *item, unsigned int dflt)
+unsigned long getdef_ulong (const char *item, unsigned long dflt)
{
struct itemdef *d;
extern bool getdef_bool (const char *);
extern long getdef_long (const char *, long);
extern int getdef_num (const char *, int);
-extern unsigned int getdef_ulong (const char *, unsigned long);
+extern unsigned long getdef_ulong (const char *, unsigned long);
extern unsigned int getdef_unum (const char *, unsigned int);
extern char *getdef_str (const char *);
extern int putdef_str (const char *, const char *);