API: fix unsigned integer underflow
1 file changed