diff --git a/libretroshare/src/pgp/pgphandler.cc b/libretroshare/src/pgp/pgphandler.cc index 1ae09fe23..f3add34de 100644 --- a/libretroshare/src/pgp/pgphandler.cc +++ b/libretroshare/src/pgp/pgphandler.cc @@ -1721,8 +1721,8 @@ bool PGPHandler::locked_syncPublicKeyring() bool PGPHandler::locked_syncTrustDatabase() { struct stat64 buf ; - std::wstring wfullname; #ifdef WINDOWS_SYS + std::wstring wfullname; librs::util::ConvertUtf8ToUtf16(_trustdb_path, wfullname); if(-1 == _wstati64(wfullname.c_str(), &buf)) #else