From 0f8bcd2b6042db620b7b1423ba5019b39f1bf7b1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 5 May 2019 00:04:20 +0200 Subject: fixup comparison of constant 9999 with expression of type 'CURLUPart' is always false --- tests/libtest/lib1560.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib1560.c b/tests/libtest/lib1560.c index f0e605aa4..5ad7134d0 100644 --- a/tests/libtest/lib1560.c +++ b/tests/libtest/lib1560.c @@ -577,7 +577,7 @@ static CURLUcode updateurl(CURLU *u, const char *cmd, unsigned int setflags) /* for debugging this */ fprintf(stderr, "%s = %s [%d]\n", part, value, (int)what); #endif - if(what == 9999) + if(what > CURLUPART_ZONEID) fprintf(stderr, "UNKNOWN part '%s'\n", part); if(!strcmp("NULL", value)) -- cgit v1.2.1