From 966e8bb7c1bbfdc829003ee565d3d68f1aebea9e Mon Sep 17 00:00:00 2001 From: C-3PO Date: Tue, 24 Jul 2018 20:04:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20local=20file=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 6cf4806..30f3323 100644 --- a/src/main.c +++ b/src/main.c @@ -51,8 +51,8 @@ int main(int argc, unsigned char *argv[]) { char* fileHeader = getBytes(30UL); //Check that header is correct const uint32_t magic = getUint32(fileHeader); - if (magic != (uint32_t)0x06054b50) { - fprintf(stderr, "Wrong magic in local file header, expected 0x06054b50 but found %#010x.", magic); + if (magic != (uint32_t)0x04034b50) { + fprintf(stderr, "Wrong magic in local file header, expected 0x04034b50 but found %#010x.", magic); exit(1); } free(fileHeader);