summaryrefslogtreecommitdiff
path: root/mpq-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq-file.c')
-rw-r--r--mpq-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpq-file.c b/mpq-file.c
index 6bd7b43..70b987b 100644
--- a/mpq-file.c
+++ b/mpq-file.c
@@ -214,7 +214,7 @@ uint32_t mpqlib_read(struct mpq_file_t * mpq_f, void * _buffer, uint32_t size) {
return return_size;
}
-uint32_t mpqlib_seek(struct mpq_file_t * mpq_f, int32_t offset, enum mpqlib_file_seek_t wheel) {
+uint32_t mpqlib_seek(struct mpq_file_t * mpq_f, signed long int offset, enum mpqlib_file_seek_t wheel) {
switch (wheel) {
case MPQLIB_SEEK_SET:
if (offset < 0)