From: Simo Sorce Date: Thu, 19 Apr 2012 14:58:39 +0000 (-0400) Subject: loadparm: Fix broken lp_ulong utility function X-Git-Tag: samba-4.0.0alpha20~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0f425ab2d49779d0abbc0756326f548ff1ee19b;p=thirdparty%2Fsamba.git loadparm: Fix broken lp_ulong utility function --- diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 46bae44c546..3ccf4668fca 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -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; }