mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-23 02:39:25 +08:00
fix: 消除警告
This commit is contained in:
parent
938e7e9bc2
commit
e5ead96c05
@ -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