From e0f425ab2d49779d0abbc0756326f548ff1ee19b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 19 Apr 2012 10:58:39 -0400 Subject: [PATCH] loadparm: Fix broken lp_ulong utility function --- lib/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.11.4.GIT