mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Fix pointer arithmetic on 'void *'. (#108322)
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps): Fix pointer arithmetic on 'void *'. (#108322)
This commit is contained in:
parent
ac2ef34988
commit
89b2a072ff
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
|
||||
Fix pointer arithmetic on 'void *'. (#108322)
|
||||
|
||||
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
|
||||
Fix pointer arithmetic on 'void *'. (#108322)
|
||||
|
||||
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
|
||||
Fix pointer arithmetic on 'void *'. (#108322)
|
||||
|
||||
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
|
||||
Fix pointer arithmetic on 'void *'. (#108322)
|
||||
|
||||
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 18 16:57:44 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
|
||||
Fix pointer arithmetic on 'void *'. (#108322)
|
||||
|
||||
Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
|
||||
|
@ -1332,7 +1332,7 @@ draw_with_images (GdkDrawable *drawable,
|
||||
image = _gdk_image_get_scratch (screen, width1, height1, 32, &xs0, &ys0);
|
||||
|
||||
convert_to_format (src_rgb + y0 * src_rowstride + 4 * x0, src_rowstride,
|
||||
image->mem + ys0 * image->bpl + xs0 * image->bpp, image->bpl,
|
||||
(guchar *)image->mem + ys0 * image->bpl + xs0 * image->bpp, image->bpl,
|
||||
format_type, image->byte_order,
|
||||
width1, height1);
|
||||
|
||||
@ -1446,7 +1446,7 @@ draw_with_pixmaps (GdkDrawable *drawable,
|
||||
return FALSE;
|
||||
|
||||
convert_to_format (src_rgb + y0 * src_rowstride + 4 * x0, src_rowstride,
|
||||
image->mem + ys0 * image->bpl + xs0 * image->bpp, image->bpl,
|
||||
(guchar *)image->mem + ys0 * image->bpl + xs0 * image->bpp, image->bpl,
|
||||
format_type, image->byte_order,
|
||||
width1, height1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user