summaryrefslogtreecommitdiff
path: root/source4/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r--source4/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 49bb52230e..d59d4efadf 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1398,7 +1398,7 @@ static int lp_int(const char *s)
return (-1);
}
- return atoi(s);
+ return strtol(s, NULL, 0);
}
/*******************************************************************
@@ -1412,7 +1412,7 @@ static int lp_ulong(const char *s)
return (-1);
}
- return strtoul(s, NULL, 10);
+ return strtoul(s, NULL, 0);
}
/*******************************************************************