ep1 = (int *)hei->HspFunc_prm_getv();
↓
ep1 = (char *)hei->HspFunc_prm_getv();