[PATCH] clear warnings about compare signed-unsigned values