summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r--stream/stream_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index abf0b37855..fe893af0b4 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -105,7 +105,7 @@ static int control(stream_t *s, int cmd, void *arg) {
size = lseek(s->fd, 0, SEEK_END);
lseek(s->fd, s->pos, SEEK_SET);
if(size != (off_t)-1) {
- *((off_t*)arg) = size;
+ *(uint64_t*)arg = size;
return 1;
}
}