make ydiff more 32bit
authorGood Guy <good1.2guy@gmail.com>
Sat, 31 Dec 2016 00:45:23 +0000 (17:45 -0700)
committerGood Guy <good1.2guy@gmail.com>
Sat, 31 Dec 2016 00:45:23 +0000 (17:45 -0700)
cinelerra-5.1/cinelerra/ydiff.C

index a4b47695e9073e1c14e1647f187c9ecfda92c756..bb8dda2da23e8a9c5ab530100c759452bacf9fbd 100644 (file)
@@ -142,8 +142,8 @@ void *gtk_window::run()
       gdk_draw_rgb_image(image->window,blk, 0,0,width,height,
          GDK_RGB_DITHER_NONE,bfr,linesize);
       gdk_flush();
-      uint64_t *fbfrs = (uint64_t *)&bfrs;  *fbfrs ^= flip_bfrs;
-      uint64_t *frows = (uint64_t *)&rows;  *frows ^= flip_rows;
+      unsigned long *fbfrs = (unsigned long *)&bfrs;  *fbfrs ^= flip_bfrs;
+      unsigned long *frows = (unsigned long *)&rows;  *frows ^= flip_rows;
       bfr = 0;
       draw_unlock();
     }