]> git.draconx.ca Git - liblbx.git/commitdiff
liblbx: Remove exact-width integer types from lbx_state.
authorNick Bowler <nbowler@draconx.ca>
Thu, 4 Feb 2010 06:48:25 +0000 (01:48 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 4 Feb 2010 06:48:25 +0000 (01:48 -0500)
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])