aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-03 16:42:25 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-03 16:42:25 +0200
commita7a14d776496fac631f05ccaf25ea0c9e764cde9 (patch)
tree7fee3341286ba59197469262bebdfc9995a60760
parent5e7ce8c83dd1ded633b2a1bbeea37cbb53f743f0 (diff)
Remove accidental internal use of stdint types
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--lib/sqfs/xattr_writer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqfs/xattr_writer.c b/lib/sqfs/xattr_writer.c
index 0360abc..25fee80 100644
--- a/lib/sqfs/xattr_writer.c
+++ b/lib/sqfs/xattr_writer.c
@@ -36,7 +36,7 @@ static const char *hexmap = "0123456789ABCDEF";
static char *to_base32(const void *input, size_t size)
{
- const uint8_t *in = input;
+ const sqfs_u8 *in = input;
char *out, *ptr;
size_t i;
@@ -57,7 +57,7 @@ static char *to_base32(const void *input, size_t size)
static void *from_base32(const char *input, size_t *size_out)
{
- uint8_t lo, hi, *out, *ptr;
+ sqfs_u8 lo, hi, *out, *ptr;
size_t len;
len = strlen(input);
@@ -94,7 +94,7 @@ typedef struct kv_block_desc_t {
size_t start;
size_t count;
- uint64_t start_ref;
+ sqfs_u64 start_ref;
size_t size_bytes;
} kv_block_desc_t;
@@ -516,7 +516,7 @@ static int write_id_table(sqfs_xattr_writer_t *xwr, sqfs_meta_writer_t *mw,
return sqfs_meta_writer_flush(mw);
}
-static int write_location_table(sqfs_xattr_writer_t *xwr, uint64_t kv_start,
+static int write_location_table(sqfs_xattr_writer_t *xwr, sqfs_u64 kv_start,
sqfs_file_t *file, const sqfs_super_t *super,
sqfs_u64 *locations, size_t loc_count)
{