mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-22 10:19:23 +08:00
fix: 消除警告
This commit is contained in:
parent
b996a9d91c
commit
7e06eaf4e4
@ -459,7 +459,7 @@ std::vector<std::string> DB::GetChatMsgByMsgId(ULONG64 msgid) {
|
|||||||
wchar_t dbname[20] = {0};
|
wchar_t dbname[20] = {0};
|
||||||
for (int i = 0;; i++) {
|
for (int i = 0;; i++) {
|
||||||
swprintf_s(dbname, L"MSG%d.db", i);
|
swprintf_s(dbname, L"MSG%d.db", i);
|
||||||
DWORD handle = GetDbHandleByDbName(dbname);
|
UINT64 handle = GetDbHandleByDbName(dbname);
|
||||||
if (handle == 0) {
|
if (handle == 0) {
|
||||||
// LOG(INFO) << "MSG db handle is null";
|
// LOG(INFO) << "MSG db handle is null";
|
||||||
return {};
|
return {};
|
||||||
|
Loading…
Reference in New Issue
Block a user