test of c_short instead of c_int