mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Use named casts on openrct2/(util|windows|scenario|title) (#11146)
This commit is contained in:
@@ -87,7 +87,7 @@ void* Intent::GetPointerExtra(uint32_t key) const
|
||||
|
||||
auto data = _Data.at(key);
|
||||
openrct2_assert(data.type == IntentData::DT_POINTER, "Actual type doesn't match requested type");
|
||||
return (void*)data.pointerVal;
|
||||
return static_cast<void*>(data.pointerVal);
|
||||
}
|
||||
|
||||
uint32_t Intent::GetUIntExtra(uint32_t key) const
|
||||
|
||||
Reference in New Issue
Block a user