Some fix for signed/unsigned warnings