summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/PackUpdater/src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PackUpdater/src/Utils.cpp b/plugins/PackUpdater/src/Utils.cpp
index 4746137c1f..a92a81d2fe 100644
--- a/plugins/PackUpdater/src/Utils.cpp
+++ b/plugins/PackUpdater/src/Utils.cpp
@@ -281,7 +281,7 @@ static void CheckUpdates(void *)
// Load files info
if (DBGetContactSettingTString(NULL, MODNAME, "UpdateURL", &dbVar)) { // URL is not set
- DBWriteContactSettingString(NULL, MODNAME, "UpdateURL", DEFAULT_UPDATE_URL);
+ DBWriteContactSettingTString(NULL, MODNAME, "UpdateURL", _T(DEFAULT_UPDATE_URL));
DBGetContactSettingTString(NULL, MODNAME, "UpdateURL", &dbVar);
}
TCHAR* tszBaseUrl = NEWTSTR_ALLOCA(dbVar.ptszVal);