Skip to content

Commit

Permalink
stb_image: fix warning in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
plzombie committed Apr 3, 2024
1 parent 4187a39 commit 2b25f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stb_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -7574,8 +7574,8 @@ static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req
filesize = s->img_n * s->img_x * s->img_y;
while(filesize--) {
// Convert from BIG-ENDIAN
// p[0]*256+p[1]
*(p16++) = *(p8++) + *(p8++)*256;
*(p16++) = p8[1] + p8[0]*256;
p8 += 2;
}
}
}
Expand Down

0 comments on commit 2b25f2f

Please sign in to comment.