summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",