summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-10-17 14:40:20 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-10-17 14:40:20 +0000
commite688a08de00afbe5a69f28a06c78af4b4dd3f16c (patch)
tree40c2b6926529ece7f68ae39350a46b30f5c86b93
parent681a843070592d628cd1fa02c1902f89ea6d76fa (diff)
downloadgst-plugins-bad-e688a08de00afbe5a69f28a06c78af4b4dd3f16c.tar.gz
gst-plugins-bad-e688a08de00afbe5a69f28a06c78af4b4dd3f16c.tar.bz2
gst-plugins-bad-e688a08de00afbe5a69f28a06c78af4b4dd3f16c.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--gst/nuvdemux/gstnuvdemux.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72401025..33d01a25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-10-17 Edgard Lima <edgard.lima@indt.org.br>
+ * gst/nuvdemux/gstnuvdemux.c:
+ Just a cast to make it compile oos big_endian systems.
+
+2006-10-17 Edgard Lima <edgard.lima@indt.org.br>
+
Patch by: Renato Filho <renato.filho@indt.org.br> and Rosfran Borges
<rosfran.borges@indt.org.br>
diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c
index e678bb8c..68099070 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 */