summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/read-wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/read-wav.c b/src/read-wav.c
index dbb662a..4b74c23 100644
--- a/src/read-wav.c
+++ b/src/read-wav.c
@@ -60,7 +60,7 @@ static int skip_to_chunk(ca_wav *w, uint32_t id, uint32_t *size) {
break;
}
- if (fseek(w->file, s, SEEK_CUR) < 0)
+ if (fseek(w->file, (long) s, SEEK_CUR) < 0)
return CA_ERROR_SYSTEM;
}