port to 64bit. Some gcc 4.4 warning fixes
[picodrive.git] / pico / misc.c
index 4e344fc..539416d 100644 (file)
@@ -101,7 +101,7 @@ typedef struct
 \r
 PICO_INTERNAL_ASM void memcpy16(unsigned short *dest, unsigned short *src, int count)\r
 {\r
-       if ((((int)dest | (int)src) & 3) == 0)\r
+       if ((((long)dest | (long)src) & 3) == 0)\r
        {\r
                if (count >= 32) {\r
                        memcpy32((int *)dest, (int *)src, count/2);\r