diff options
author | wm4 <wm4@nowhere> | 2012-11-18 20:46:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:15 +0100 |
commit | ddffcce67810fbde5508a353f85760da7a1b4a95 (patch) | |
tree | 74d9b416568c12759a0c198651bce0e78a0c2284 /stream/stream_netstream.c | |
parent | 51dac4e0702e361b88e5a373fbb0165f5ad47420 (diff) | |
download | mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.bz2 mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.xz |
stream, demux: replace off_t with int64_t
On reasonable systems, these types were the same anyway. Even on
unreasonable systems (seriously, which?), this may reduce potential
breakage.
Diffstat (limited to 'stream/stream_netstream.c')
-rw-r--r-- | stream/stream_netstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_netstream.c b/stream/stream_netstream.c index bbc8c85cbf..2abc0e48f9 100644 --- a/stream/stream_netstream.c +++ b/stream/stream_netstream.c @@ -187,7 +187,7 @@ static int fill_buffer(stream_t *s, char* buffer, int max_len){ } -static int seek(stream_t *s,off_t newpos) { +static int seek(stream_t *s,int64_t newpos) { uint64_t pos = le2me_64((uint64_t)newpos); mp_net_stream_packet_t* pack; |