loadparm: Fix broken lp_ulong utility function
authorSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 14:58:39 +0000 (10:58 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 22:14:01 +0000 (18:14 -0400)
lib/param/loadparm.c

index 46bae44c54632507eecfcf15fb6facbf9f7eb74b..3ccf4668fcab9e219af390b21caca7fe24c3031f 100644 (file)
@@ -1699,11 +1699,11 @@ static int lp_int(const char *s)
 /**
  * convenience routine to return unsigned long parameters.
  */
-static int lp_ulong(const char *s)
+static unsigned long lp_ulong(const char *s)
 {
 
        if (!s) {
-               DEBUG(0,("lp_int(%s): is called with NULL!\n",s));
+               DEBUG(0,("lp_ulong(%s): is called with NULL!\n",s));
                return -1;
        }