From e15a8b16c164c032e1c67fdb818a1d70404df637 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 22 Feb 2006 09:48:13 +0000 Subject: r13617: fix compiler warning metze (This used to be commit 082f418fab867e1ca5ab9418514d5578a069eebb) --- source4/lib/util_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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; -- cgit