diff options
Diffstat (limited to 'source/utils/make_smbcodepage.c')
-rw-r--r-- | source/utils/make_smbcodepage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/make_smbcodepage.c b/source/utils/make_smbcodepage.c index 256dde7c0d1..61f4153f5b2 100644 --- a/source/utils/make_smbcodepage.c +++ b/source/utils/make_smbcodepage.c @@ -151,7 +151,7 @@ static BOOL parse_bool(char *buf, unsigned char *bp) * Print a parse error and exit. */ -static void parse_error(char *buf, char *msg) +static void parse_error(char *buf, const char *msg) { fprintf(stderr, "%s: %s whilst parsing line \n%s\n", prog_name, msg, buf); @@ -243,7 +243,7 @@ definition file. File %s has %d.\n", prog_name, MAXCODEPAGELINES, input_file, nu for(i = 0; i < num_lines; i++) { char token_buf[512]; - char *p = buf; + const char *p = buf; unsigned char b = 0; /* Get the 'lower' value. */ |