Skip to content

Commit

Permalink
Merge remote-tracking branch 'proplib-template/main' into cross-platf…
Browse files Browse the repository at this point in the history
…orm-cli-driver
  • Loading branch information
aromanielloNTIA committed Oct 31, 2024
2 parents 26ab33b + e39e002 commit e5706f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReturnCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ std::string GetReturnStatus(const int code) {
char *GetReturnStatusCharArray(const int code) {
const std::string msg = GetReturnStatus(code);
char *c_msg = new char[msg.size() + 1];
#ifndef _WIN32
#ifdef _WIN32
strcpy_s(c_msg, msg.size() + 1, msg.c_str());
#else
strcpy(c_msg, msg.c_str());
Expand Down

0 comments on commit e5706f1

Please sign in to comment.