summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-03 22:00:11 +0000
committerJeremy Allison <jra@samba.org>2001-07-03 22:00:11 +0000
commit4a6ef39261a91e03f9bb6a18dcbfce0742d98702 (patch)
tree53924eeb5f4a9530bcc38102b736c6acb63ac3e4 /source3
parentb96c379dae07988fd2582cd2f055069cf55e9510 (diff)
downloadsamba-4a6ef39261a91e03f9bb6a18dcbfce0742d98702.tar.gz
samba-4a6ef39261a91e03f9bb6a18dcbfce0742d98702.tar.bz2
samba-4a6ef39261a91e03f9bb6a18dcbfce0742d98702.zip
Small warning removal tidyup.
Jeremy. (This used to be commit 5cf7bc582bc2dc4fa7be43d87c81e94f6dd00573)
Diffstat (limited to 'source3')
-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);