void* argを数値に戻すときは、int i = (int)(unsigned long long)arg;