Fixed sign mismatch warning