[gui][PATCH] Eliminate some gthread-jni.c compiler warnings

Thomas Fitzsimmons fitzsim@redhat.com
Wed Aug 11 13:20:00 GMT 2004


Hi,

I committed this to java-gui-branch.  It eliminates all but one of the
compiler warnings triggered by gthread-jni.c.

Tom

2004-08-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

	PR AWT/16121
	* jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
	type-punning compiler warnings using unions.
	(throw): Replace bzero with memset.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: awt-fix-gthread-warnings.patch
Type: text/x-patch
Size: 11224 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040811/723e5037/attachment.bin>


More information about the Java-patches mailing list