Skip to content

Commit

Permalink
use const char for version string output
Browse files Browse the repository at this point in the history
  • Loading branch information
philip1337 committed Apr 27, 2017
1 parent 2662c5f commit 39109a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Natives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ AMX_NATIVE(LoggerVersion, 1)

// Check version
if (version != BUILD_REV)
logprintf("[SPDLog] Warning: Version mismatch detected %s != %s ", BUILD_REV, version);
logprintf("[SPDLog] Warning: Version mismatch detected %s != %s ", BUILD_REV, version.c_str());

return 1;
AMX_NATIVE_END
Expand Down

0 comments on commit 39109a3

Please sign in to comment.