diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-15 22:40:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-15 22:40:40 +0300 |
commit | b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe (patch) | |
tree | 279df324772bbd8e69aed934940cd4aa8da58999 /src/net/eathena | |
parent | bc5f2bc679b7af67e652fad23f4132e212c78845 (diff) | |
download | plus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.gz plus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.bz2 plus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.xz plus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/mail2recv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp index 536425386..1afb69d16 100644 --- a/src/net/eathena/mail2recv.cpp +++ b/src/net/eathena/mail2recv.cpp @@ -346,7 +346,7 @@ void Mail2Recv::processMailListPage(Net::MessageIn &msg) mail->type = static_cast<MailMessageType::Type>( msg.readUInt8("type")); mail->sender = msg.readString(24, "sender name"); - mail->time = cur_time - msg.readInt32("reg time"); + mail->time = CAST_S32(cur_time - msg.readInt32("reg time")); mail->strTime = timeToStr(mail->time); mail->expireTime = msg.readInt32("expire time"); mail->title = msg.readString(-1, "title"); |