summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-02-02 00:10:51 +0300
committerAndrei Karas <akaras@inbox.ru>2019-02-02 00:10:51 +0300
commit195f88a1da4c3e7860d1995aac579b1ecc07e6db (patch)
treef4664cfafe80ec245331ed71098b8129c3014318
parentf2197c185b27c0ab8259c613a86550545ba5c0ee (diff)
downloadmv-s20190211.tar.gz
mv-s20190211.tar.bz2
mv-s20190211.tar.xz
mv-s20190211.zip
Remove useless cast in messageout.cpps20190211
-rw-r--r--src/net/messageout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index cfbc90554..60336e02f 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -134,7 +134,7 @@ void MessageOut::writeFloat(const float value, const char *const str)
{
#ifdef ENABLEDEBUGLOG
std::string text = strprintf("writeFloat: %f", value);
- DEBUGLOG2(text.c_str(), mPos, str);
+ DEBUGLOG2(text, mPos, str);
#endif
expand(4);
memcpy(mData + CAST_SIZE(mPos), &value, sizeof(float));