X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b28eaf5c3ff53c282281925b1c5fd5e64e71add..dae6d730a9b66f27d851a41a9c6b4fa9d77114f4:/src/png/pngerror.c diff --git a/src/png/pngerror.c b/src/png/pngerror.c index f66e90000d..3dd1dae014 100644 --- a/src/png/pngerror.c +++ b/src/png/pngerror.c @@ -109,9 +109,9 @@ static PNG_CONST char png_digit[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; -size_t wxstrnlen( const char *s, size_t maxlen ) +static size_t wxstrnlen( const char *s, size_t maxlen ) { - int i ; + size_t i ; for ( i = 0 ; s[i] && i < maxlen ; ++i ) ; return i ;