summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-09-11 14:05:02 +0000
committerRobert Pösel <robyer@seznam.cz>2016-09-11 14:05:02 +0000
commita4078fcca0e3f8db76b73ef9f6bb6d9108e96fc8 (patch)
tree40e4dc6f74746cefb8d8ae324067494e2a5813ab /protocols/FacebookRM
parentbdbe16b2dc399ec25bdd0c38525bbc30eb67b7c9 (diff)
Facebook: Improve small const char* hack
Seems previous variant was returning garbage on x64 build, this works better. git-svn-id: http://svn.miranda-ng.org/main/trunk@17283 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index 1747e07496..01d3b45df0 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -157,7 +157,7 @@ public:
// Increment request number and convert it to string with radix 36 (whole numbers + whole alphabet)
char buffer[10];
itoa(InterlockedIncrement(&this->chat_req_), buffer, 36);
- return ptrA(mir_strdup(buffer));
+ return CMStringA(buffer);
}
__inline const char *__rev() {