summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/mir_db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/mir_db.cpp')
-rw-r--r--plugins/UserInfoEx/src/mir_db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/mir_db.cpp b/plugins/UserInfoEx/src/mir_db.cpp
index f91969d216..e0a577d7b8 100644
--- a/plugins/UserInfoEx/src/mir_db.cpp
+++ b/plugins/UserInfoEx/src/mir_db.cpp
@@ -525,19 +525,19 @@ BYTE dbv2String(DBVARIANT* dbv, const BYTE destType)
// source value is of type "byte"
case DBVT_BYTE:
_ultow(dbv->bVal, buf, 10);
- dbv->pwszVal = mir_wcsdup(buf);
+ dbv->pwszVal = mir_wstrdup(buf);
dbv->type = (dbv->pwszVal) ? destType : DBVT_DELETED;
break;
// source value is of type "word"
case DBVT_WORD:
_ultow(dbv->wVal, buf, 10);
- dbv->pwszVal = mir_wcsdup(buf);
+ dbv->pwszVal = mir_wstrdup(buf);
dbv->type = (dbv->pwszVal) ? destType : DBVT_DELETED;
break;
// source value is of type "dword"
case DBVT_DWORD:
_ultow(dbv->dVal, buf, 10);
- dbv->pwszVal = mir_wcsdup(buf);
+ dbv->pwszVal = mir_wstrdup(buf);
dbv->type = (dbv->pwszVal) ? destType : DBVT_DELETED;
break;
// source value is of any string type