]> git.draconx.ca Git - liblbx.git/blobdiff - src/lbx.c
lbxtool: Remove - as a synonym for stdin.
[liblbx.git] / src / lbx.c
index 4b5d7f3fe8f483c9003df780b6fa6f44fd6ba6c6..ff1914e8d916250bf779181c8f679e67c2fee02c 100644 (file)
--- a/src/lbx.c
+++ b/src/lbx.c
@@ -23,7 +23,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <stdint.h>
 #include <errno.h>
 #include <assert.h>
 
@@ -46,8 +45,8 @@ struct lbx_state {
        int (*dtor)(void *handle);
        void *f;
 
-       uint16_t nfiles;
-       uint32_t offsets[];
+       unsigned short nfiles;
+       unsigned long offsets[];
 };
 
 static struct lbx_state *lbx_init(unsigned char hdr[static LBX_HDR_SIZE])