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:
Edgard Lima 2006-10-17 14:40:20 +00:00
parent 681a843070
commit e688a08de0
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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 */