Index: rpcclient/cmd_spoolss.c =================================================================== --- rpcclient/cmd_spoolss.c (revision 5885) +++ rpcclient/cmd_spoolss.c (working copy) @@ -1283,7 +1283,7 @@ wrapper for strtok to get the next parameter from a delimited list. Needed to handle the empty parameter string denoted by "NULL" *************************************************************************/ -static char* get_driver_3_param (const char* str, const char* delim, UNISTR* dest) +static char* get_driver_3_param (char* str, const char* delim, UNISTR* dest) { char *ptr; @@ -1313,7 +1313,7 @@ static BOOL init_drv_info_3_members ( TALLOC_CTX *mem_ctx, DRIVER_INFO_3 *info, - const char *args + char *args ) { char *str, *str2;