commit | 0c955aa208411eac10a067c72ce2e642697fd533 | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Sat Jun 19 19:24:43 2021 +0200 |
committer | Thomas Klausner <tk@giga.or.at> | Sat Jun 19 19:24:43 2021 +0200 |
tree | 7426a620c2a49d3a7c594c4893f8e5797c26983c | |
parent | be8921b11a523d5fc33b255db367df2f1439f1c8 [diff] |
Return false instead of -1. Noted by RafaĆ Mikrut in #245
diff --git a/lib/zip_source_file_win32.c b/lib/zip_source_file_win32.c index 6547fc2..0dea2c1 100644 --- a/lib/zip_source_file_win32.c +++ b/lib/zip_source_file_win32.c
@@ -115,7 +115,7 @@ break; default: zip_error_set(&ctx->error, ZIP_ER_SEEK, EINVAL); - return -1; + return false; } li.QuadPart = (LONGLONG)offset;