[PATCH 14/25] Fix signed/unsigned mismatch