Compilation fixes (type mismatch)

This commit is contained in:
Guilhem Lavaux 2021-04-15 16:28:18 +02:00
parent 371dc289b3
commit 381f6aae87
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ public:
simu->Pos[k] = new float[allocated];
simu->Vel[k] = new float[allocated];
}
simu->Id = new long[allocated];
simu->Id = new int64_t[allocated];
long *uniqueID = new long[allocated];
long *index = new long[allocated];

View file

@ -203,7 +203,7 @@ public:
}
if (load_flags & NEED_GADGET_ID)
{
d->Id = new long[numPartToLoad];
d->Id = new int64_t[numPartToLoad];
SETUP_READ("ident", d->Id);
}
#undef SETUP_READ