strtoul removed, strtol used instead
authorLuke Leighton <lkcl@samba.org>
Fri, 16 Oct 1998 22:01:57 +0000 (22:01 +0000)
committerLuke Leighton <lkcl@samba.org>
Fri, 16 Oct 1998 22:01:57 +0000 (22:01 +0000)
(This used to be commit d717d58c115fc5cf687af098100cf5adc0265afc)

source3/rpcclient/cmd_wkssvc.c

index 0093fbf7c82d5141dea5aa06921da93eef6185e5..ee1e9748a5116b2d8744963dc58069f28d223128 100644 (file)
@@ -58,7 +58,7 @@ void cmd_wks_query_info(struct client_info *info)
 
        if (next_token(NULL, tmp, NULL, sizeof(tmp)))
        {
 
        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",
        }
 
        DEBUG(4,("cmd_wks_query_info: server:%s info level: %d\n",