From 14598caba9d333d15a4f799b28a215b0779766fb Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 8 Oct 2007 17:51:33 +0000 Subject: [PATCH] gst/realmedia/: Fix some compiler warnings shown on Forte. Original commit message from CVS: * gst/realmedia/asmrules.c: (gst_asm_scan_parse_expression), (gst_asm_scan_parse_condition): * gst/realmedia/rmdemux.c: (gst_rmdemux_parse_video_packet): Fix some compiler warnings shown on Forte. --- ChangeLog | 7 +++++++ gst/realmedia/asmrules.c | 4 ++-- gst/realmedia/rmdemux.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61c9fc2..518633e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-08 Jan Schmidt + + * gst/realmedia/asmrules.c: (gst_asm_scan_parse_expression), + (gst_asm_scan_parse_condition): + * gst/realmedia/rmdemux.c: (gst_rmdemux_parse_video_packet): + Fix some compiler warnings shown on Forte. + 2007-09-29 Sebastien Moutte * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3parse_time_to_bytepos), diff --git a/gst/realmedia/asmrules.c b/gst/realmedia/asmrules.c index f90e915..5d94c7f 100644 --- a/gst/realmedia/asmrules.c +++ b/gst/realmedia/asmrules.c @@ -495,7 +495,7 @@ gst_asm_scan_parse_expression (GstASMScan * scan) node = gst_asm_node_new (); node->type = GST_ASM_NODE_OPERATOR; - node->data.optype = scan->token; + node->data.optype = (GstASMOp) scan->token; gst_asm_scan_next_token (scan); @@ -517,7 +517,7 @@ gst_asm_scan_parse_condition (GstASMScan * scan) node = gst_asm_node_new (); node->type = GST_ASM_NODE_OPERATOR; - node->data.optype = scan->token; + node->data.optype = (GstASMOp) scan->token; gst_asm_scan_next_token (scan); diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index cc0fb3e..70935c2 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -2139,7 +2139,7 @@ gst_rmdemux_parse_video_packet (GstRMDemux * rmdemux, GstRMDemuxStream * stream, guint8 pkg_header; guint pkg_offset; guint pkg_length; - guint pkg_subseq = 0, pkg_seqnum = -1; + guint pkg_subseq = 0, pkg_seqnum = G_MAXUINT; guint fragment_size; GstBuffer *fragment; -- 2.7.4