aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libsqfs/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsqfs/table.c b/tests/libsqfs/table.c
index a2cb846..0b1ab93 100644
--- a/tests/libsqfs/table.c
+++ b/tests/libsqfs/table.c
@@ -133,7 +133,7 @@ int main(void)
/* check the location list */
memcpy(locations, file_data + start, sizeof(locations));
for (i = 0; i < 4; ++i)
- locations[i] = le32toh(locations[i]);
+ locations[i] = le64toh(locations[i]);
TEST_EQUAL_UI(locations[0], 0);
TEST_EQUAL_UI(locations[1], (1 * (8192 + 2)));