changeset 28104:6ea280cd6b95

Avoid useless casts.
author reimar
date Sat, 13 Dec 2008 09:44:51 +0000
parents e79fde187eeb
children 3d8fe3f052be
files libmpdemux/demux_vqf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_vqf.c	Sat Dec 13 04:37:32 2008 +0000
+++ b/libmpdemux/demux_vqf.c	Sat Dec 13 09:44:51 2008 +0000
@@ -148,7 +148,7 @@
     }
     else
     {
-    mp_msg(MSGT_DEMUX, MSGL_V, "Unhandled chunk '%c%c%c%c' %u bytes\n",((char *)&chunk_id)[0],((char *)&chunk_id)[1],((char *)&chunk_id)[2],((char *)&chunk_id)[3],chunk_size);
+    mp_msg(MSGT_DEMUX, MSGL_V, "Unhandled chunk '%c%c%c%c' %u bytes\n",chunk_id[0],chunk_id[1],chunk_id[2],chunk_id[3],chunk_size);
     stream_skip(s,chunk_size-8); /*unknown chunk type */
     }
   }