From 1ee0eb7953c57f580a32e093da16e276506cf991 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 27 Apr 2016 23:10:02 -0700 Subject: [PATCH] Issue 692: Fix typo in newc cpio test --- libarchive/test/test_write_format_cpio_newc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/test/test_write_format_cpio_newc.c b/libarchive/test/test_write_format_cpio_newc.c index 3bbc17301..48b0b2646 100644 --- a/libarchive/test/test_write_format_cpio_newc.c +++ b/libarchive/test/test_write_format_cpio_newc.c @@ -30,7 +30,7 @@ static int is_hex(const char *p, size_t l) { while (l > 0) { - if (*p >= 0 && *p <= '9') { + if (*p >= '0' && *p <= '9') { /* Ascii digit */ } else if (*p >= 'a' && *p <= 'f') { /* lowercase letter a-f */ -- 2.47.3