mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
test_output: fix MSVC warning strlen() -> int
This commit is contained in:
parent
ff18ff1cbc
commit
5499e9d71f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user