mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #13181 from tygyh/Replace-'reinterpret_cast'
Replace 'reinterpret_cast' with 'static_cast'
This commit is contained in:
@ -84,7 +84,7 @@ int SDCardDiskIOCtl(File::IOFile* image, u8 pdrv, u8 cmd, void* buff)
|
||||
case CTRL_SYNC:
|
||||
return RES_OK;
|
||||
case GET_SECTOR_COUNT:
|
||||
*reinterpret_cast<LBA_t*>(buff) = image->GetSize() / SECTOR_SIZE;
|
||||
*static_cast<LBA_t*>(buff) = image->GetSize() / SECTOR_SIZE;
|
||||
return RES_OK;
|
||||
default:
|
||||
WARN_LOG_FMT(COMMON, "Unexpected SD image ioctl {}", cmd);
|
||||
|
Reference in New Issue
Block a user