From: Sergey Poznyakoff Date: Sun, 27 Jun 2010 21:04:49 +0000 (+0300) Subject: Minor fix. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=80a6ef7d94ce144db0249384e55846baa404f4dd;p=chaz%2Ftar Minor fix. * src/buffer.c (magic): Split the character constant to help cc recognize character boundaries (7 is a valid hex character). --- diff --git a/src/buffer.c b/src/buffer.c index 5b7cbc7..444f612 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -225,7 +225,7 @@ static struct zip_magic const magic[] = { { ct_lzip, 4, "LZIP", LZIP_PROGRAM, "--lzip" }, { ct_lzma, 6, "\xFFLZMA", LZMA_PROGRAM, "--lzma" }, { ct_lzop, 4, "\211LZO", LZOP_PROGRAM, "--lzop" }, - { ct_xz, 6, "\xFD7zXZ", XZ_PROGRAM, "-J" }, + { ct_xz, 6, "\xFD" "7zXZ", XZ_PROGRAM, "-J" }, }; #define NMAGIC (sizeof(magic)/sizeof(magic[0]))