summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r--protocols/FacebookRM/src/client.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h
index 6e3a3e2e87..6018a196aa 100644
--- a/protocols/FacebookRM/src/client.h
+++ b/protocols/FacebookRM/src/client.h
@@ -153,11 +153,8 @@ public:
return ""; // FIXME: What's this value and where it come from? Looks like it is the same through all requests.
}
- __inline CMStringA __req() {
- // 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 CMStringA(buffer);
+ __inline unsigned int __req() { // Increment request number
+ return InterlockedIncrement(&this->chat_req_);
}
__inline const char *__rev() {