]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Small warning removal tidyup.
authorJeremy Allison <jra@samba.org>
Tue, 3 Jul 2001 22:00:11 +0000 (22:00 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 3 Jul 2001 22:00:11 +0000 (22:00 +0000)
Jeremy.

source/utils/make_unicodemap.c

index ff9bb19b6fe8f7402a3dc08146b8ab9ea47fcadb..3584facbf62846cf67539ae3486b8ea884ceb59a 100644 (file)
@@ -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);