void func(void* pv)
{
int* pi;

pi = (int*)pv;
pv = pi; // 元の値に必ず戻る

pi = (int*)pv;
pi++;
pv = pi; // 今の論点はこれ
}