asm compatibility re-fixed, nsf for asm fixed, msg displ
[fceu.git] / video.c
diff --git a/video.c b/video.c
index 397f82e..01a54e1 100644 (file)
--- a/video.c
+++ b/video.c
@@ -167,7 +167,7 @@ int SaveSnapshot(void)
  int x,u,y;
  FILE *pp=NULL;
  uint8 *compmem=NULL;
- uint32 compmemsize=totallines*263+12;
+ unsigned long compmemsize=totallines*263+12;
 
  if(!(compmem=FCEU_malloc(compmemsize)))
   return 0;