Fix signed and unsigned comparisons
The first in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
parent
51ae90d789
commit
f9467ec1ea
34 changed files with 105 additions and 105 deletions
|
|
@ -501,9 +501,9 @@ Error StreamTexture::_load_data(const String &p_path, int &tw, int &th, int &fla
|
|||
Vector<Ref<Image> > mipmap_images;
|
||||
int total_size = 0;
|
||||
|
||||
for (int i = 0; i < mipmaps; i++) {
|
||||
for (uint32_t i = 0; i < mipmaps; i++) {
|
||||
|
||||
if (i > 0) {
|
||||
if (i) {
|
||||
size = f->get_32();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue