Skip to content

Commit

Permalink
Try fixing windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Gouache committed Jul 26, 2024
1 parent ad51782 commit 557888d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basic_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void setup_bad_credentials() {
std::stringstream envVar;
envVar << "GCP_TOKEN=" << tempCredsFile.str();
#ifdef _WIN32
_putenv(envVar.str());
_putenv((char*)(envVar.str().c_str()));
#else
putenv((char*)(envVar.str().c_str()));
#endif
Expand Down

0 comments on commit 557888d

Please sign in to comment.