summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/isobuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/isobuilder.cpp b/lib/isobuilder.cpp
index 54d9368..11979ad 100644
--- a/lib/isobuilder.cpp
+++ b/lib/isobuilder.cpp
@@ -740,11 +740,11 @@ void isobuilder::copydir(isobuilder::DirTree * r, cdutils * cd, cdutils::DirEntr
}
}
}
- p->Size = cdutils::to_BE32(fsize);
+ p->Size = cdutils::to_LE32(fsize);
cdfile * tmp = new cdfile(cd, p, fmode);
createfile(r, tmp, "", p, fmode)->size = osize;
delete tmp;
- p->Size = cdutils::to_BE32(osize);
+ p->Size = cdutils::to_LE32(osize);
}
p = (cdutils::DirEntry *) (((Byte *) p) + p->R);
}