test_output: fix MSVC warning strlen() -> int

This commit is contained in:
gitlost 2022-12-02 22:53:20 +00:00
parent ff18ff1cbc
commit 5499e9d71f

View File

@ -113,7 +113,7 @@ static void test_fopen(const testCtx *const p_ctx) {
if (testContinue(p_ctx, i)) continue;
strcpy(outfile, cwdbuf);
len = strlen(outfile);
len = (int) strlen(outfile);
if (len && outfile[len - 1] != TEST_OUT_SEP) { outfile[len++] = TEST_OUT_SEP; outfile[len] = '\0'; }
dir_exists = subdir_exists = 0;