Skip to content

Commit bd8e59f

Browse files
committed
Replace size_t by unsigned int
1 parent 4c8c727 commit bd8e59f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rlgl.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3694,8 +3694,8 @@ unsigned char *rlReadScreenPixels(int width, int height)
36943694
{
36953695
for (int x = 0; x < (width*4); x += 4)
36963696
{
3697-
size_t s = ((height - 1) - y)*width*4 + x;
3698-
size_t e = y*width*4 + x;
3697+
unsigned int s = ((height - 1) - y)*width*4 + x;
3698+
unsigned int e = y*width*4 + x;
36993699

37003700
unsigned char r = imgData[s];
37013701
unsigned char g = imgData[s+1];

0 commit comments

Comments
 (0)