Fix build
authorMiguel de Icaza <miguel@gnome.org>
Tue, 19 Jul 2011 23:35:08 +0000 (19:35 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 19 Jul 2011 23:35:08 +0000 (19:35 -0400)
mono/utils/mono-mmap.c

index 2f7a84cb3d0e1cfed7e5b5779a881e0d9ea9b690..8108028db5bc9cf4d34ca996bcdf7ad3310cf236 100644 (file)
@@ -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);