diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-29 02:02:04 +0300 |
commit | a6d18b282ab916c6536dc25516affeb9200043b6 (patch) | |
tree | 9980735a47cb2118999fb4f4dceaa52bf9f4fae7 /src/net/messagein.cpp | |
parent | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (diff) | |
download | plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.gz plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.bz2 plus-a6d18b282ab916c6536dc25516affeb9200043b6.tar.xz plus-a6d18b282ab916c6536dc25516affeb9200043b6.zip |
Fix code style.s20181102
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r-- | src/net/messagein.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index ff34cd2c5..1a82c8282 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -64,7 +64,7 @@ MessageIn::MessageIn(const char *const data, MessageIn::~MessageIn() { - if (mLength != 0u) + if (mLength != 0U) { if (mPos != mLength && mPos != 2) { @@ -463,7 +463,7 @@ unsigned char *MessageIn::readBytes(int length, const char *const dstr) str += " "; for (int f = 0; f < length; f ++) { - if (buf[f] != 0u) + if (buf[f] != 0U) str.append(strprintf("%c", buf[f])); else str.append("_"); |