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 406018 - 64bit uncleanness in gstavimux.c
64bit uncleanness in gstavimux.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other opensolaris
: Normal normal
: 0.10.6
Assigned To: Tim-Philipp Müller
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-09 07:13 UTC by James Andrewartha
Modified: 2007-02-10 00:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description James Andrewartha 2007-02-09 07:13:14 UTC
http://jhbuild.bxlug.be/builds/2007-02-08-0003/logs/gst-plugins-good/#build

gstavimux.c: In function 'gst_avi_mux_riff_get_avi_header':
gstavimux.c:1038: warning: cast from pointer to integer of different size
gstavimux.c:1038: error: invalid operands to binary -
gstavimux.c:1038: warning: cast from pointer to integer of different size
gstavimux.c:1038: error: invalid operands to binary -
gstavimux.c:1038: warning: cast from pointer to integer of different size
gstavimux.c:1038: error: invalid operands to binary -
gstavimux.c:1038: warning: cast from pointer to integer of different size
gstavimux.c:1038: error: invalid operands to binary -
Comment 1 Tim-Philipp Müller 2007-02-09 09:30:49 UTC
I hope this fixes it (can't test myself, and our build bots don't complain about this):


 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>

       * gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
         Explicitly cast result of pointer arithmetic to integer in order to
         avoid compiler warnings on some 64-bit systems. Should fix #406018.



If there are more issues, please do a build with

 gst-plugins-good $ make ERROR_CFLAGS='-Wall' 2>warnings.log

(if you can do that), so that they can be fixed all in one go.
Comment 2 James Andrewartha 2007-02-10 00:49:15 UTC
http://jhbuild.bxlug.be/builds/2007-02-09-0003/logs/gst-plugins-good/ shows a successful build, thanks.