summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/make_unicodemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/make_unicodemap.c b/source3/utils/make_unicodemap.c
index ff9bb19b6f..3584facbf6 100644
--- a/source3/utils/make_unicodemap.c
+++ b/source3/utils/make_unicodemap.c
@@ -149,7 +149,7 @@ static int do_compile(const char *codepage, const char *input_file, const char *
SMB_STRUCT_STAT st;
/* Get the size of the input file. Read the entire thing into memory. */
- if(sys_stat((char *)input_file, &st)!= 0) {
+ if(sys_stat(input_file, &st)!= 0) {
fprintf(stderr, "%s: failed to get the file size for file %s. Error was %s\n",
prog_name, input_file, strerror(errno));
exit(1);