mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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.
This commit is contained in:
parent
681a843070
commit
e688a08de0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue