[Pkg-shadow-commits] r2180 - in upstream/trunk: . lib

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Jun 14 21:09:34 UTC 2008


Author: nekral-guest
Date: 2008-06-14 21:09:33 +0000 (Sat, 14 Jun 2008)
New Revision: 2180

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/lib/getdef.c
   upstream/trunk/lib/getdef.h
Log:
	* lib/getdef.c: Fix the getdef_ulong() prototype.
	* lib/getdef.h: Fix the getdef_ulong() prototype.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2008-06-14 21:06:53 UTC (rev 2179)
+++ upstream/trunk/ChangeLog	2008-06-14 21:09:33 UTC (rev 2180)
@@ -1,5 +1,10 @@
 2008-06-14  Nicolas François  <nicolas.francois at 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 at centraliens.net>
+
 	* src/lastlog.c: Use getrange to parse the range of users.
 	* src/lastlog.c: umin and umax do not need to be signed long. Use
 	an unsigned long which might be needed to parse a GID or UID. Add

Modified: upstream/trunk/lib/getdef.c
===================================================================
--- upstream/trunk/lib/getdef.c	2008-06-14 21:06:53 UTC (rev 2179)
+++ upstream/trunk/lib/getdef.c	2008-06-14 21:09:33 UTC (rev 2180)
@@ -266,7 +266,7 @@
  * 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;
 

Modified: upstream/trunk/lib/getdef.h
===================================================================
--- upstream/trunk/lib/getdef.h	2008-06-14 21:06:53 UTC (rev 2179)
+++ upstream/trunk/lib/getdef.h	2008-06-14 21:09:33 UTC (rev 2180)
@@ -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 *);




More information about the Pkg-shadow-commits mailing list