Update UnitTestFileGenerator.h

kimkulling/add_windows_clang_issue-5519
Kim Kulling 2024-04-09 19:37:35 +01:00 committed by GitHub
parent 1587c61ee7
commit c740977594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ inline FILE* MakeTmpFile(char* tmplate)
return nullptr; return nullptr;
} }
FILE *fs = nullptr; FILE *fs = nullptr;
auto err = fopen_s(&fs, tmplate, "w+"); err = fopen_s(&fs, tmplate, "w+");
EXPECT_EQ(err, 0); EXPECT_EQ(err, 0);
return fs; return fs;
} }