diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-09-22 23:16:56 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-09-22 23:16:56 +0200 |
commit | b0130e52d6e6e3a893b690524254652f65a9621e (patch) | |
tree | f2de8f1a6f88e7486e5a46eb91c1d1e66601b1f6 /src/image.c | |
parent | 6d69da6cd120fac092c92717bf37e7dcc3972b6b (diff) | |
download | 0xFFFF-b0130e52d6e6e3a893b690524254652f65a9621e.tar.bz2 |
Fix compilation on 32bit system
Diffstat (limited to 'src/image.c')
-rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index cfccb49..f8e9c93 100644 --- a/src/image.c +++ b/src/image.c @@ -320,7 +320,7 @@ void image_free(struct image * image) { } -void image_seek(struct image * image, off_t whence) { +void image_seek(struct image * image, size_t whence) { if ( whence > image->size ) return; @@ -339,7 +339,7 @@ void image_seek(struct image * image, off_t whence) { size_t image_read(struct image * image, void * buf, size_t count) { - off_t cur; + size_t cur; ssize_t ret; size_t new_count = 0; size_t ret_count = 0; |