summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-04-28 09:36:00 +0200
committerUoti Urpala <uau@mplayer2.org>2011-05-02 00:46:48 +0300
commit6506d4ad84eac67e69437def2c8ee69fcfc14ed5 (patch)
tree255e7f58b809a9bc7377047533cfb19399ce4ffd /stream/stream.h
parent7e65428712beacd416dc3410c52f22ebfd3b4c53 (diff)
downloadmpv-6506d4ad84eac67e69437def2c8ee69fcfc14ed5.tar.bz2
mpv-6506d4ad84eac67e69437def2c8ee69fcfc14ed5.tar.xz
cleanup: remove more warnings
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 94bfb0e343..77319871c0 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -229,7 +229,8 @@ inline static unsigned int stream_read_word_le(stream_t *s){
return (y<<8)|x;
}
-inline static unsigned int stream_read_dword_le(stream_t *s){
+inline static uint32_t stream_read_dword_le(stream_t *s)
+{
unsigned int y;
y=stream_read_char(s);
y|=stream_read_char(s)<<8;