diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2024-07-24 06:24:51 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2024-11-08 07:26:47 +0100 |
| commit | 6d44afc7dd129603401ce1a7ee4a059be1fbdda4 (patch) | |
| tree | 40118d5b05c1b88e035877eb0b4824fb49dcfe1b /Source/Core/Common/FatFsUtil.cpp | |
| parent | 53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff) | |
Replace 'reinterpret_cast' with 'static_cast'
Diffstat (limited to 'Source/Core/Common/FatFsUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FatFsUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/FatFsUtil.cpp b/Source/Core/Common/FatFsUtil.cpp index ffac0fc6c9..ae5b27f325 100644 --- a/Source/Core/Common/FatFsUtil.cpp +++ b/Source/Core/Common/FatFsUtil.cpp @@ -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); |
