summaryrefslogtreecommitdiff
path: root/source/utils/make_unicodemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/make_unicodemap.c')
-rw-r--r--source/utils/make_unicodemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/make_unicodemap.c b/source/utils/make_unicodemap.c
index ff9bb19b6fe..3584facbf62 100644
--- a/source/utils/make_unicodemap.c
+++ b/source/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);