[libpng16] Fix typo recently introduced in rpng-win.c
This commit is contained in:
parent
11c25c0e9e
commit
8359b90057
@ -499,7 +499,7 @@ static int rpng_win_create_window(HINSTANCE hInst, int showmode)
|
||||
|
||||
/* Guard against integer overflow */
|
||||
if (image_height > ((size_t)(-1))/wimage_rowbytes) {
|
||||
fprintf(stderr, PROGNAME ": image_data buffer would be too large\n",
|
||||
fprintf(stderr, PROGNAME ": image_data buffer would be too large\n");
|
||||
return 4; /* fail */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user