mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/Build): macOS build (part 1) (#10549)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user