Skip to content

Commit

Permalink
Fix Clang build (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
fleroviux committed Aug 11, 2022
1 parent 66076c3 commit a81097f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nba/src/hw/rom/backup/eeprom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void EEPROM::SetSizeHint(Size size) {
detect_size = false;

if (file->Size() != bytes) {
file = BackupFile::OpenOrCreate(save_path, {bytes}, bytes);
file = BackupFile::OpenOrCreate(save_path, {(size_t)bytes}, bytes);
}
}
}
Expand Down

0 comments on commit a81097f

Please sign in to comment.