[libpng16] Fix typo recently introduced in rpng-win.c

This commit is contained in:
Glenn Randers-Pehrson 2017-04-24 15:48:45 -05:00
parent 11c25c0e9e
commit 8359b90057

View File

@ -499,7 +499,7 @@ static int rpng_win_create_window(HINSTANCE hInst, int showmode)
/* Guard against integer overflow */ /* Guard against integer overflow */
if (image_height > ((size_t)(-1))/wimage_rowbytes) { 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 */ return 4; /* fail */
} }