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 362639 - Fixes compiling with forte: warning clean up (part 6)
Fixes compiling with forte: warning clean up (part 6)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other All
: Normal minor
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-16 16:09 UTC by Josep Torra Valles
Modified: 2006-10-16 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[patch] Fixes the bugs (13.73 KB, patch)
2006-10-16 16:10 UTC, Josep Torra Valles
none Details | Review
[patch] Fixes the bugs (5.71 KB, patch)
2006-10-16 17:36 UTC, Josep Torra Valles
committed Details | Review

Description Josep Torra Valles 2006-10-16 16:09:49 UTC
Please describe the problem:
gst/iec958/ac3_padder.c: changed char for unsigned char
gst/mpegstream/gstmpegparse.c: diferent return type between declaration and definition
gst/realmedia/rmdemux.c: arithmethics with a void pointer

Steps to reproduce:
Compile it with Forte


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Josep Torra Valles 2006-10-16 16:10:21 UTC
Created attachment 74824 [details] [review]
[patch] Fixes the bugs
Comment 2 Tim-Philipp Müller 2006-10-16 16:20:46 UTC
Yuk, instead of all those ugly casts in rmdemux.c maybe you could modify some of the gpointer foo function arguments to guint8 * ? I don't think there's really a reason why we use gpointer or void * there. Also, changing those to guint8 * will more likely keep things compiling in future when people change things ...
Comment 3 Josep Torra Valles 2006-10-16 17:36:37 UTC
Created attachment 74831 [details] [review]
[patch] Fixes the bugs

This new one has the changes on gst/realmedia/rmdemux.c that Tim suggested
Comment 4 Tim-Philipp Müller 2006-10-16 18:08:19 UTC
Thanks, looks much better :)  Committed to CVS HEAD:

 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>

        Patch by: Josep Torra Valles  <josep at fluendo com>

        * gst/iec958/ac3_padder.c: (ac3p_init):
        * gst/mpegstream/gstmpegparse.c:
        * gst/realmedia/rmdemux.c: (gst_rmdemux_parse__rmf),
        (gst_rmdemux_parse_prop), (gst_rmdemux_parse_mdpr),
        (gst_rmdemux_parse_indx), (gst_rmdemux_parse_indx_data),
        (gst_rmdemux_parse_data), (gst_rmdemux_parse_cont),
        (gst_rmdemux_parse_packet):
          Misc. fixes for problems discovered by Forte (different return types
          in function declaration and definition, pointer arithmetics with
          void pointers). Fixes #362639.