mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
Address Ubuntu compiler error/warn.
This commit is contained in:
parent
e74dadba82
commit
4430f06422
|
@ -599,7 +599,7 @@ void nstool::SettingsInitializer::determine_filetype()
|
||||||
auto raw_data = file.pullData(0, 0x5000);
|
auto raw_data = file.pullData(0, 0x5000);
|
||||||
|
|
||||||
#define _TYPE_PTR(st) ((st*)(raw_data.data()))
|
#define _TYPE_PTR(st) ((st*)(raw_data.data()))
|
||||||
#define _ASSERT_FILE_SIZE(sz) (file.length() >= (sz))
|
#define _ASSERT_FILE_SIZE(sz) (file.length() >= tc::io::IOUtil::castSizeToInt64(sz))
|
||||||
|
|
||||||
// do easy tests
|
// do easy tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue