coverity: fixed unsigned compare against 0