After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 62113 - gdk dumps core on 64 bit systems
gdk dumps core on 64 bit systems
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-10-11 00:42 UTC by George Lebl
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix some 64bit issues in gdk (1.38 KB, patch)
2001-10-11 00:43 UTC, George Lebl
none Details | Review

Description George Lebl 2001-10-11 00:42:28 UTC
There are places in gdk which assume that when X says format 32 it actually
means it.  Here's a patch that does the correct thing, that is, use longs
and not ints.  There is no difference on a 32bit system, but this patch
makes all the difference on a 64bit system (as in, gtk will actually work
with this:)
Comment 1 George Lebl 2001-10-11 00:43:33 UTC
Created attachment 5805 [details] [review]
patch to fix some 64bit issues in gdk
Comment 2 Owen Taylor 2001-10-11 20:01:22 UTC
Please commit.
Comment 3 Anders Carlsson 2001-10-26 23:43:41 UTC
I have committed these fixes. ChangeLog is:

2001-10-27  Anders Carlsson  <andersca@gnu.org>

	* gdk/x11/gdkmain-x11.c: Replace int and guint with
	long and gulong in some places to make the code 64-bit
	clean.
	(_gdk_windowing_init_check): Replace gint with gulong.
	This patch was made by George Lebl and fixes bug #62113.

	* tests/testgtk.c (create_range_controls): Don't set a 
	fixed height on the hscale widget. This fixes "bug" 
	#55840.
	(create_window_states): Set up destroy signals so that
	all windows will be destroyed when one is. This fixes 
	bug #58133.