diff options
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index b243c3efae..b8b37f53d4 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -812,8 +812,8 @@ bool CMraProto::CmdAnketaInfo(int seq, BinBuffer &buf) mraSetStringW(hContact, "LastName", valW);
}
else if (fld == "Sex") {
- buf >> valW;
- switch (_wtoi(valW)) {
+ buf >> val;
+ switch (atoi(val)) {
case 1:// мужской
setByte(hContact, "Gender", 'M');
break;
|