add explicit static cast for png_uint_16