fix(Core/Build): macOS build (part 1) (#10549)

This commit is contained in:
Kargatum
2022-02-08 17:21:17 +07:00
committed by GitHub
parent 93520f6466
commit 11006041ac
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ void CalendarMgr::UpdateEvent(CalendarEvent* calendarEvent)
stmt->SetData(5, calendarEvent->GetDungeonId());
stmt->SetData(6, uint32(calendarEvent->GetEventTime()));
stmt->SetData(7, calendarEvent->GetFlags());
stmt->SetData(8, calendarEvent->GetTimeZoneTime()); // correct?
stmt->SetData(8, (int64)calendarEvent->GetTimeZoneTime()); // correct?
CharacterDatabase.Execute(stmt);
}

View File

@@ -15339,7 +15339,7 @@ void Player::_SaveInstanceTimeRestrictions(CharacterDatabaseTransaction trans)
stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_ACCOUNT_INSTANCE_LOCK_TIMES);
stmt->SetData(0, GetSession()->GetAccountId());
stmt->SetData(1, itr->first);
stmt->SetData(2, itr->second);
stmt->SetData(2, (int64)itr->second);
trans->Append(stmt);
}
}