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 168885 - AMD64 build failure in gst/librfb/rfbdecoder.c
AMD64 build failure in gst/librfb/rfbdecoder.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-01 15:40 UTC by James Henstridge
Modified: 2005-03-02 10:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
gst-plugins-64bit.patch (1.25 KB, patch)
2005-03-01 15:41 UTC, James Henstridge
none Details | Review

Description James Henstridge 2005-03-01 15:40:30 UTC
Distribution/Version: Ubuntu AMD64

gst-plugins build fails with the following errors on AMD64 Linux:
  rfbdecoder.c: In function `rfb_socket_get_buffer':
  rfbdecoder.c:24: warning: cast from pointer to integer of different size
  rfbdecoder.c: In function `rfb_socket_send_buffer':
  rfbdecoder.c:48: warning: cast from pointer to integer of different size
  rfbdecoder.c: In function `rfb_decoder_use_file_descriptor':
  rfbdecoder.c:82: warning: cast to pointer from integer of different size
  rfbdecoder.c:85: warning: cast to pointer from integer of different size

This is due to the size difference between pointers and integers, and the fact
that -Werror is being used.

A patch will be attached shortly.
Comment 1 James Henstridge 2005-03-01 15:41:42 UTC
Created attachment 38101 [details] [review]
gst-plugins-64bit.patch

Use GPOINTER_TO_INT() and GINT_TO_POINTER() instead of direct casts.
Comment 2 Tim-Philipp Müller 2005-03-02 10:48:02 UTC
Applied, thanks.

Cheers
 -Tim