mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-09 13:11:40 -04:00
silence compile warning .
This commit is contained in:
parent
f0a578ee9e
commit
de8b0e1c42
1 changed files with 1 additions and 1 deletions
2
3rdParty/xcc/misc/tmp_ts_file.h
vendored
2
3rdParty/xcc/misc/tmp_ts_file.h
vendored
|
@ -39,7 +39,7 @@ public:
|
|||
!h.cblocks_x || !h.cblocks_y ||
|
||||
h.cx != 48 && h.cx != 60 ||
|
||||
2 * h.cy != h.cx ||
|
||||
sizeof(t_tmp_ts_header) + 4 * get_c_tiles() > size)
|
||||
sizeof(t_tmp_ts_header) + static_cast<size_t>(4 * get_c_tiles()) > size)
|
||||
return false;
|
||||
for (int i = 0; i < min(get_c_tiles(), 64); i++) {
|
||||
if (get_index()[i]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue