Skip to content
Snippets Groups Projects
Commit 15082b10 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

framecpp_igwdparse: fix warnings about int conversions

parent 7073d727
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ static void parse_table_6(GSTFrameCPPIGWDParse *element, const guint8 *data, gui ...@@ -171,7 +171,7 @@ static void parse_table_6(GSTFrameCPPIGWDParse *element, const guint8 *data, gui
} }
static void parse_table_7(GSTFrameCPPIGWDParse *element, const guint8 *data, guint64 length, guint16 *eof_klass, guint16 *frameh_klass) static void parse_table_7(GSTFrameCPPIGWDParse *element, const guint8 *data, guint length, guint16 *eof_klass, guint16 *frameh_klass)
{ {
GstByteReader reader = GST_BYTE_READER_INIT(data + element->sizeof_table_6, length - element->sizeof_table_6); GstByteReader reader = GST_BYTE_READER_INIT(data + element->sizeof_table_6, length - element->sizeof_table_6);
const gchar *name = fr_get_string(element, &reader); const gchar *name = fr_get_string(element, &reader);
...@@ -186,7 +186,7 @@ static void parse_table_7(GSTFrameCPPIGWDParse *element, const guint8 *data, gui ...@@ -186,7 +186,7 @@ static void parse_table_7(GSTFrameCPPIGWDParse *element, const guint8 *data, gui
} }
static void parse_table_9(GSTFrameCPPIGWDParse *element, const guint8 *data, guint64 length, GstClockTime *start, GstClockTime *stop) static void parse_table_9(GSTFrameCPPIGWDParse *element, const guint8 *data, guint length, GstClockTime *start, GstClockTime *stop)
{ {
GstByteReader reader = GST_BYTE_READER_INIT(data + element->sizeof_table_6, length - element->sizeof_table_6); GstByteReader reader = GST_BYTE_READER_INIT(data + element->sizeof_table_6, length - element->sizeof_table_6);
const gchar *name = fr_get_string(element, &reader); const gchar *name = fr_get_string(element, &reader);
......
...@@ -56,10 +56,10 @@ typedef struct { ...@@ -56,10 +56,10 @@ typedef struct {
GstBaseParse element; GstBaseParse element;
gint endianness; gint endianness;
gint sizeof_int_2; guint sizeof_int_2;
gint sizeof_int_4; guint sizeof_int_4;
gint sizeof_int_8; guint sizeof_int_8;
gint sizeof_table_6; guint sizeof_table_6;
guint16 frameh_klass; guint16 frameh_klass;
guint16 eof_klass; guint16 eof_klass;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment