summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-19 10:58:39 -0400
committerSimo Sorce <idra@samba.org>2012-04-19 18:14:01 -0400
commite0f425ab2d49779d0abbc0756326f548ff1ee19b (patch)
tree376faf4661e604b32b0c21eedd23edd31c6d2369 /lib
parent97f5b287fbe36e8e0026c3a76f90a7662111e9aa (diff)
downloadsamba-e0f425ab2d49779d0abbc0756326f548ff1ee19b.tar.gz
samba-e0f425ab2d49779d0abbc0756326f548ff1ee19b.tar.bz2
samba-e0f425ab2d49779d0abbc0756326f548ff1ee19b.zip
loadparm: Fix broken lp_ulong utility function
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 46bae44c54..3ccf4668fc 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;
}