summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-22 09:48:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:00 -0500
commite15a8b16c164c032e1c67fdb818a1d70404df637 (patch)
tree478de12b96510803a6d975234d6b1cbc3328390c
parent98c0767677156ff31791bd93f473ac11f856c75a (diff)
downloadsamba-e15a8b16c164c032e1c67fdb818a1d70404df637.tar.gz
samba-e15a8b16c164c032e1c67fdb818a1d70404df637.tar.bz2
samba-e15a8b16c164c032e1c67fdb818a1d70404df637.zip
r13617: fix compiler warning
metze (This used to be commit 082f418fab867e1ca5ab9418514d5578a069eebb)
-rw-r--r--source4/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c
index 203eccd0cf..246b03b4aa 100644
--- a/source4/lib/util_file.c
+++ b/source4/lib/util_file.c
@@ -195,7 +195,7 @@ char *file_load(const char *fname, size_t *size, TALLOC_CTX *mem_ctx)
/*******************************************************************
mmap (if possible) or read a file
********************************************************************/
-void *map_file(char *fname, size_t size)
+void *map_file(const char *fname, size_t size)
{
size_t s2 = 0;
void *p = NULL;