Mercurial > mplayer.hg
diff stream/stream_cue.c @ 35881:b5abdfe9bc61
Replace some uses of off_t by uint64_t.
This allows code that does not rely on lseek etc. to work
even on systems that do not support 64 bit off_t yet.
Signed-off-by: Reimar Dffinger <Reimar.Doeffinger@gmx.de>
author | reimar |
---|---|
date | Sat, 16 Mar 2013 10:09:12 +0000 |
parents | 18eebabbc172 |
children | 3389262720da |
line wrap: on
line diff
--- a/stream/stream_cue.c Sat Mar 16 09:20:51 2013 +0000 +++ b/stream/stream_cue.c Sat Mar 16 10:09:12 2013 +0000 @@ -480,7 +480,7 @@ return VCD_SECTOR_DATA * sector; } -static int seek(stream_t *s,off_t newpos) { +static int seek(stream_t *s, uint64_t newpos) { s->pos=newpos; cue_set_msf(s->pos/VCD_SECTOR_DATA); return 1;