diff options
-rw-r--r-- | lib/cdutils.cpp | 2 | ||||
-rw-r--r-- | lib/isobuilder.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index 36032fd..bcb976c 100644 --- a/lib/cdutils.cpp +++ b/lib/cdutils.cpp @@ -97,7 +97,7 @@ Handle * cdutils::open_ppf(String ppf, String comment) throw (GeneralException) if (l >= 50) { ppf_file->write(comment.to_charp(), 50); } else { - char * t = " "; + const char * t = " "; ppf_file->write(comment.to_charp(), l); for (i = l; i < 50; i++) { ppf_file->write(t, 1); 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); } |