]> granicus.if.org Git - shadow/commitdiff
* lib/getdef.c: Fix the getdef_ulong() prototype.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 14 Jun 2008 21:09:33 +0000 (21:09 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 14 Jun 2008 21:09:33 +0000 (21:09 +0000)
* lib/getdef.h: Fix the getdef_ulong() prototype.

ChangeLog
lib/getdef.c
lib/getdef.h

index a01eec8b40f2ce72b6ee40760b94f97330b6b7c8..5d0307287e3797ddd44cdc41e1c1adde5bd75f61 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 02057de5abcf029d5b11bb9046dcf5ecb29cb726..db1645a926a8d81fe98bfbf95bcaeddbd3226abe 100644 (file)
@@ -266,7 +266,7 @@ long getdef_long (const char *item, long dflt)
  * 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;
 
index ce7212de9c6890042dd6464705b4d5527ec02c5c..39e02a23c1a1f066b3174878c8b248b84f48d49b 100644 (file)
@@ -36,7 +36,7 @@
 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 *);