summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/utility.cpp
diff options
context:
space:
mode:
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;
}