|
|
Author: metze
Date: 2006-02-22 09:48:13 +0000 (Wed, 22 Feb 2006)
New Revision: 13617
WebSVN:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13617
Log:
fix compiler warning
metze
Modified:
branches/SAMBA_4_0/source/lib/util_file.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/util_file.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util_file.c 2006-02-22 09:28:58 UTC (rev
13616)
+++ branches/SAMBA_4_0/source/lib/util_file.c 2006-02-22 09:48:13 UTC (rev
13617)
@@ -195,7 +195,7 @@
/*******************************************************************
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;
|
|