From af70d555fc98a23fa15e70b762dfe2c6d15e2878 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 9 Mar 2022 08:40:36 +0100 Subject: [PATCH] Remove signed check on unsigned variable --- src/asm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/main.c b/src/asm/main.c index 8abe986a..5d2bf9c4 100644 --- a/src/asm/main.c +++ b/src/asm/main.c @@ -241,7 +241,7 @@ int main(int argc, char *argv[]) if (musl_optarg[0] == '\0' || *ep != '\0') errx("Invalid argument for option 'p'"); - if (fill < 0 || fill > 0xFF) + if (fill > 0xFF) errx("Argument for option 'p' must be between 0 and 0xFF"); opt_P(fill);