diff --git a/src/common_io.c b/src/common_io.c index e05315686dae8615279ca4bcad62ada661522bda..6179fde6a685dda7e8e3f346fdc4ad7c61902cd6 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -565,8 +565,10 @@ void collect_dm_gparts(const struct gpart *const gparts, size_t Ntot, struct gpa /* Loop over all gparts */ for (size_t i = 0; i < Ntot; ++i) { + /* message("i=%zd count=%zd id=%lld part=%p", i, count, gparts[i].id, gparts[i].part); */ + /* And collect the DM ones */ - if (gparts[i].id < 0) { + if (gparts[i].id < 0LL) { memcpy(&dmparts[count], &gparts[i], sizeof(struct gpart)); dmparts[count].id = -dmparts[count].id; count++;