From: Good Guy Date: Sat, 31 Dec 2016 00:45:23 +0000 (-0700) Subject: make ydiff more 32bit X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=135eb5f052a2f75e4df6c86511a94ec9586e096d;p=goodguy%2Fhistory.git make ydiff more 32bit --- diff --git a/cinelerra-5.1/cinelerra/ydiff.C b/cinelerra-5.1/cinelerra/ydiff.C index a4b47695..bb8dda2d 100644 --- a/cinelerra-5.1/cinelerra/ydiff.C +++ b/cinelerra-5.1/cinelerra/ydiff.C @@ -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(); }