diff --git a/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.cpp b/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.cpp index c8bc4b45..120936ae 100755 --- a/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.cpp +++ b/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.cpp @@ -39,7 +39,7 @@ bool CharacterNameLocator::locateObjects(DB::Session *session, const std::string break; m_characterIds.push_back(i->character_id.getValue()); - m_stationIds.push_back(i->character_station_id.getValue()); + m_stationIds.push_back(static_cast(i->character_station_id.getValue())); m_characterNames.push_back(i->character_name.getValueASCII()); m_characterFullNames.push_back(i->character_full_name.getValueASCII()); m_characterCreateTime.push_back(i->character_create_time.getValue() + (7 * 60 * 60)); diff --git a/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.h b/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.h index 3ca8cd55..c8f95c55 100755 --- a/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.h +++ b/engine/server/library/serverDatabase/src/shared/CharacterNameLocator.h @@ -32,7 +32,7 @@ class CharacterNameLocator : public ObjectLocator struct CharacterNameRow { DB::BindableNetworkId character_id; - DB::BindableLong character_station_id; + DB::BindableInt64 character_station_id; DB::BindableString<127> character_name; DB::BindableString<127> character_full_name; DB::BindableLong character_create_time;