diff --git a/tests/unit/unit1302.c b/tests/unit/unit1302.c index e840486511..353e162c32 100644 --- a/tests/unit/unit1302.c +++ b/tests/unit/unit1302.c @@ -144,8 +144,7 @@ static CURLcode test_unit1302(const char *arg) /* then verify decode */ result = curlx_base64_decode(e->output, &decoded, &dlen); if(result != CURLE_OK) { - curl_mfprintf(stderr, "Test %u URL decode returned %d\n", i, - (int)result); + curl_mfprintf(stderr, "Test %u URL decode returned %d\n", i, result); unitfail++; } if(dlen != e->ilen) { @@ -191,7 +190,7 @@ static CURLcode test_unit1302(const char *arg) if(result != CURLE_BAD_CONTENT_ENCODING) { curl_mfprintf(stderr, "Test %u URL bad decoded badly. " "Returned '%d', expected '%d'\n", - i, (int)result, CURLE_BAD_CONTENT_ENCODING); + i, result, CURLE_BAD_CONTENT_ENCODING); unitfail++; } }