projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f8b9cb
)
Fix build
author
Miguel de Icaza
<miguel@gnome.org>
Tue, 19 Jul 2011 23:35:08 +0000
(19:35 -0400)
committer
Miguel de Icaza
<miguel@gnome.org>
Tue, 19 Jul 2011 23:35:08 +0000
(19:35 -0400)
mono/utils/mono-mmap.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-mmap.c
b/mono/utils/mono-mmap.c
index 2f7a84cb3d0e1cfed7e5b5779a881e0d9ea9b690..8108028db5bc9cf4d34ca996bcdf7ad3310cf236 100644
(file)
--- a/
mono/utils/mono-mmap.c
+++ b/
mono/utils/mono-mmap.c
@@
-433,7
+433,7
@@
mono_mprotect (void *addr, size_t length, int flags)
#ifndef HAVE_VALLOC_ALIGNED
void*
-mono_valloc_aligned (size_t
length
, size_t alignment, int flags)
+mono_valloc_aligned (size_t
size
, size_t alignment, int flags)
{
/* Allocate twice the memory to be able to put the block on an aligned address */
char *mem = mono_valloc (NULL, size + alignment, flags);