diff options
author | Pixel <pixel@nobis-crew.org> | 2009-10-26 17:17:17 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-10-26 17:17:17 -0700 |
commit | 3a14aad219a6e254d96cea7dbb782323f93e2da3 (patch) | |
tree | 7d98b99cb5e7d90488a843d61bcef4ebbdbccd1a /lib | |
parent | 34a415215a1a58f2777e1edae67255e9b45baa51 (diff) | |
parent | ceebadeefd68d37a680f1fa173d4a1f564538acc (diff) |
Merge branch 'master' of ssh+git://git.grumpycoder.net/pub/repo.git/PSX-Bundle
Diffstat (limited to 'lib')
-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); } |