diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbspool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index b0077b73ba..5a78fe14fc 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -358,7 +358,7 @@ smb_print(struct cli_state *cli, /* I - SMB connection */ */ for (ptr = title; *ptr; ptr ++) - if (!isalnum(*ptr) && !isspace(*ptr)) + if (!isalnum((int)*ptr) && !isspace((int)*ptr)) *ptr = '_'; /* |