GHash: use bool for comparison (simplify compare)

This commit is contained in:
2014-09-25 06:15:52 +10:00
parent faaf0c719f
commit 6f2f80887b
15 changed files with 63 additions and 156 deletions

View File

@@ -999,7 +999,7 @@ static int mirror_facerotation(MFace *a, MFace *b)
return -1;
}
static int mirror_facecmp(const void *a, const void *b)
static bool mirror_facecmp(const void *a, const void *b)
{
return (mirror_facerotation((MFace *)a, (MFace *)b) == -1);
}