fix sizeof, only matter on platforms where sizeof(unsigned) != sizeof(uint32_t)

This commit is contained in:
Love Hornquist Astrand
2009-10-11 12:22:19 -07:00
parent 983d0f66f1
commit 93f0e450cc

View File

@@ -183,8 +183,7 @@ canonical_reorder(uint32_t *tmp, size_t tmp_len)
j < tmp_len && _wind_combining_class(tmp[j]);
++j)
;
qsort(&tmp[i], j - i, sizeof(unsigned),
cc_cmp);
qsort(&tmp[i], j - i, sizeof(tmp[0]), cc_cmp);
i = j;
}
}