summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/CString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ClientChangeNotify/src/CString.cpp')
-rw-r--r--plugins/ClientChangeNotify/src/CString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ClientChangeNotify/src/CString.cpp b/plugins/ClientChangeNotify/src/CString.cpp
index 21449ee8e6..2427c06aea 100644
--- a/plugins/ClientChangeNotify/src/CString.cpp
+++ b/plugins/ClientChangeNotify/src/CString.cpp
@@ -297,7 +297,7 @@ TCString DBGetContactSettingAsString(MCONTACT hContact, const char *szModule, co
else if (dbv.type == DBVT_BYTE || dbv.type == DBVT_WORD || dbv.type == DBVT_DWORD)
{
long value = (dbv.type == DBVT_DWORD) ? dbv.dVal : (dbv.type == DBVT_WORD ? dbv.wVal : dbv.bVal);
- _ultot(value, Result.GetBuffer(64), 10);
+ _ultow(value, Result.GetBuffer(64), 10);
Result.ReleaseBuffer();
}
else Result = szDefaultValue;