fluidsynth/fluidsynth-64bit-fix.diff

12 lines
437 B
Diff

--- src/fluidsynth_priv.h-dist 2006-05-15 15:36:31.000000000 +0200
+++ src/fluidsynth_priv.h 2006-05-15 15:36:49.000000000 +0200
@@ -287,7 +287,7 @@ typedef FILE* fluid_file;
*/
#ifdef ENABLE_SSE
/* FIXME - This is broken on AMD 64 - only used if SSE enabled */
-#define FLUID_ALIGN16BYTE(ptr)(((int)(ptr)+15) & (~0xFL))
+#define FLUID_ALIGN16BYTE(ptr)(((long)(ptr)+15) & (~0xFL))
#else
#define FLUID_ALIGN16BYTE(ptr) ptr
#endif