git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c0767
)
r13617: fix compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Wed, 22 Feb 2006 09:48:13 +0000
(09:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:52:00 +0000
(13:52 -0500)
metze
(This used to be commit
082f418fab867e1ca5ab9418514d5578a069eebb
)
source4/lib/util_file.c
patch
|
blob
|
history
diff --git
a/source4/lib/util_file.c
b/source4/lib/util_file.c
index 203eccd0cf4be3d75d14e5dcbe1120bdc42fbf0f..246b03b4aa4cbb17a3baf4e4676d0256fc0b4dff 100644
(file)
--- 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(c
onst c
har *fname, size_t size)
{
size_t s2 = 0;
void *p = NULL;