summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_wkssvc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-16 22:01:57 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-16 22:01:57 +0000
commit4865debe85a0e22692ce61ab5438b651fd91ba92 (patch)
treefe7713fa3b7dadc9c520e74126bb7059c59488f5 /source3/rpcclient/cmd_wkssvc.c
parent71adb8b0a008ad137fc7dcd8702f3d0e4426a657 (diff)
downloadsamba-4865debe85a0e22692ce61ab5438b651fd91ba92.tar.gz
samba-4865debe85a0e22692ce61ab5438b651fd91ba92.tar.bz2
samba-4865debe85a0e22692ce61ab5438b651fd91ba92.zip
strtoul removed, strtol used instead
(This used to be commit d717d58c115fc5cf687af098100cf5adc0265afc)
Diffstat (limited to 'source3/rpcclient/cmd_wkssvc.c')
-rw-r--r--source3/rpcclient/cmd_wkssvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_wkssvc.c b/source3/rpcclient/cmd_wkssvc.c
index 0093fbf7c8..ee1e9748a5 100644
--- a/source3/rpcclient/cmd_wkssvc.c
+++ b/source3/rpcclient/cmd_wkssvc.c
@@ -58,7 +58,7 @@ void cmd_wks_query_info(struct client_info *info)
if (next_token(NULL, tmp, NULL, sizeof(tmp)))
{
- info_level = strtoul(tmp, (char**)NULL, 10);
+ info_level = (uint32)strtol(tmp, (char**)NULL, 10);
}
DEBUG(4,("cmd_wks_query_info: server:%s info level: %d\n",