From cfaf203f68cad99465ae3f93a007508ddf9c44dd Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 20 Oct 2009 17:55:34 -0700 Subject: Fixing an utterly stupid typo... --- lib/isobuilder.cpp | 4 ++-- 1 file 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); } -- cgit v1.2.3 From 91e1b2a0b50088e3a5d556eabfd7c25b689edd07 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 21 Oct 2009 09:54:49 -0700 Subject: Fixing one missing const. --- lib/cdutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdutils.cpp b/lib/cdutils.cpp index 0b5709a..554cffb 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); -- cgit v1.2.3