Skip to content

Commit 08a199d

Browse files
committed
fixup: Fix windows build warning by explicitly setting size_t
1 parent f346350 commit 08a199d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/graphics/opengl/gropengltexture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ static int opengl_texture_set_level(int bitmap_handle, int bitmap_type, int bmap
443443

444444
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
445445

446-
auto dsize = 0;
446+
size_t dsize = 0;
447447
auto doffset = 0;
448448

449449
switch (bitmap_type) {

0 commit comments

Comments
 (0)