aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorlameguy64 <lameguy64@ponce.localdomain>2019-04-12 19:04:57 +0800
committerlameguy64 <lameguy64@ponce.localdomain>2019-04-12 19:04:57 +0800
commit349726bb0aa31235222691540ee2c276a309e863 (patch)
tree0c909c1d4939a4f59d392f73edf8502d5b8a919f /tools
parent1388e18427ae6245b137d52282f66692f6fef2ed (diff)
* Fixed lzpack producing broken QLP archives breaking the n00bdemo example.\n* Updated GCC configure parameters to a known working config.\n* Removed a stray executable file.
Diffstat (limited to 'tools')
-rw-r--r--tools/lzpack/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/lzpack/main.cpp b/tools/lzpack/main.cpp
index ed650d2..3f0dcde 100644
--- a/tools/lzpack/main.cpp
+++ b/tools/lzpack/main.cpp
@@ -10,21 +10,21 @@
typedef struct {
- char id[3];
- u_char numFiles;
+ char id[3];
+ unsigned char numFiles;
} QLP_HEAD;
typedef struct {
- char fileName[16];
- u_long fileSize;
- u_long offset;
+ char fileName[16];
+ unsigned int fileSize;
+ unsigned int offset;
} QLP_FILE;
typedef struct {
- char name[16];
- int size;
- int offset; // In 2048 byte sector units
+ char name[16];
+ unsigned int size;
+ unsigned int offset; // In 2048 byte sector units
} PCK_FILE;
typedef struct {
@@ -51,7 +51,7 @@ const char* TrimPathName(const char* path);
int main(int argc, const char* argv[]) {
- printf("LZPack v0.60b - File Compression and Packing Utility\n");
+ printf("LZPack v0.61b - File Compression and Packing Utility\n");
printf("2016-2019 Meido-Tek Productions (Lameguy64)\n\n");
if (argc <= 1) {