From e688a08de00afbe5a69f28a06c78af4b4dd3f16c Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Tue, 17 Oct 2006 14:40:20 +0000 Subject: Just a cast to make it compile oos big_endian systems. Original commit message from CVS: Just a cast to make it compile oos big_endian systems. --- ChangeLog | 5 +++++ gst/nuvdemux/gstnuvdemux.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 724010255..33d01a25b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-17 Edgard Lima + + * gst/nuvdemux/gstnuvdemux.c: + Just a cast to make it compile oos big_endian systems. + 2006-10-17 Edgard Lima Patch by: Renato Filho and Rosfran Borges diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c index e678bb8cd..680990705 100644 --- a/gst/nuvdemux/gstnuvdemux.c +++ b/gst/nuvdemux/gstnuvdemux.c @@ -123,7 +123,7 @@ _gdouble_swap_le_be (gdouble * d) return u.d; } -#define READ_DOUBLE_FROM_LE(d) (_gdouble_swap_le_be(d)) +#define READ_DOUBLE_FROM_LE(d) (_gdouble_swap_le_be((gdouble* ) d)) #else /* G_BYTE_ORDER != G_BIG_ENDIAN */ #define READ_DOUBLE_FROM_LE(d) *((gdouble* ) (d)) #endif /* G_BYTE_ORDER != G_BIG_ENDIAN */ -- cgit v1.2.3