summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-09-03 16:11:52 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-09-03 16:11:52 -0700
commit2d8d2b3e71083001066483fcbb33a593b1b9e6a7 (patch)
treee58a3d6f8f2b8dafcae5e93da92a050000a8e094
parent34720e7b10a5da6e3d2c3e6f0d03caee8bce195e (diff)
journals: add missing le64toh() call
Apparently skipped a line when doing the mechanical addition of this hoop-jumping...
-rw-r--r--src/journals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journals.c b/src/journals.c
index 27b2756..c0d2b55 100644
--- a/src/journals.c
+++ b/src/journals.c
@@ -792,7 +792,7 @@ THUNK_DEFINE_STATIC(got_object, iou_t *, iou, uint64_t, size, Object *, object,
object->entry.xor_hash = le64toh(object->entry.xor_hash);
for (uint64_t i = 0, n_items = OBJECT_N_ITEMS(object->entry); i < n_items; i++) {
object->entry.items[i].object_offset = le64toh(object->entry.items[i].object_offset);
- object->entry.items[i].hash;
+ object->entry.items[i].hash = le64toh(object->entry.items[i].hash);
}
break;
© All Rights Reserved