int int_cmp(const void* c1, const void* c2) { retrun (*(int *)c1) - (*(int *)c2); }
とでも書けってこったな。

# return で ()多い? いつも迷って ((int *)c1)[0] とか書いちゃうけど…