commit | a42dae8ce96b0b1f88b3c959ac0c5135e5c170ee | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Thu Oct 23 18:53:05 2014 +0200 |
committer | Thomas Klausner <tk@giga.or.at> | Thu Oct 23 18:53:05 2014 +0200 |
tree | 5ac89b3b6b6bc6790644a42bc0eb3149068e33a7 | |
parent | d50c6ee3dfd8a432af19e7cacb4f1cdc8ab5efd8 [diff] [blame] |
Consistently use fseeko. From BALATON Zoltan.
diff --git a/lib/zip_source_filep.c b/lib/zip_source_filep.c index a57b0b6..4e51eb0 100644 --- a/lib/zip_source_filep.c +++ b/lib/zip_source_filep.c
@@ -134,7 +134,7 @@ ctx->supports = ZIP_SOURCE_SUPPORTS_WRITABLE; } } - else if (fseek(ctx->f, 0, SEEK_CUR) == 0) { + else if (fseeko(ctx->f, 0, SEEK_CUR) == 0) { ctx->supports = ZIP_SOURCE_SUPPORTS_SEEKABLE; }