summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/utility.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-21 13:43:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-21 13:43:01 +0000
commit9cb64ba2151b213f5544b2e53c6668061f197b9c (patch)
treebf4c796a96df96a9875af9d772826937f66ee33c /protocols/AimOscar/src/utility.cpp
parentbc69e94ff28a1f7cd0c0b99fa7d2702b8807539f (diff)
MS_UTILS_GETRANDOM -> mir_core::Utils_GetRandom
git-svn-id: http://svn.miranda-ng.org/main/trunk@14299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/utility.cpp')
-rw-r--r--protocols/AimOscar/src/utility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp
index 004e195359..d66e920b56 100644
--- a/protocols/AimOscar/src/utility.cpp
+++ b/protocols/AimOscar/src/utility.cpp
@@ -674,7 +674,7 @@ unsigned long char_ip_to_long_ip(char* ip)
unsigned short get_random(void)
{
unsigned short id;
- CallService(MS_UTILS_GETRANDOM, sizeof(id), (LPARAM)&id);
+ Utils_GetRandom(&id, sizeof(id));
id &= 0x7fff;
return id;
}