diff ps2util.cc @ 139:00d7de7fe9df default tip

fix collision
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 21 Jul 2011 22:49:57 +0900
parents 2cc2796b3681
children
line wrap: on
line diff
--- a/ps2util.cc	Thu Jul 21 22:14:50 2011 +0900
+++ b/ps2util.cc	Thu Jul 21 22:49:57 2011 +0900
@@ -348,7 +348,7 @@
 int malloc_align16(void *free, void *aligned, int size)
 {
   char *index;
-  unsigned int *f=(unsigned int *)free, *a=(unsigned int *)aligned;
+  unsigned long *f=(unsigned long *)free, *a=(unsigned long *)aligned;
 
   if (free == NULL || aligned == NULL || size <= 0) return(-1);