GNOME Bugzilla – Bug 168885
AMD64 build failure in gst/librfb/rfbdecoder.c
Last modified: 2005-03-02 10:48:02 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.
Created attachment 38101 [details] [review] gst-plugins-64bit.patch Use GPOINTER_TO_INT() and GINT_TO_POINTER() instead of direct casts.
Applied, thanks. Cheers -Tim