Fix 'comparison of unsigned expression < 0 is always false' warning. (There was no actual problem as id is never set to a negative value.)