From 1d118bf5e77a6eb7e58210aa5374fc72c79dbe4d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 10 May 1996 21:10:06 +0000 Subject: (store_default_leaf_encode): Convert from the store_run vector to a off_t vector for encoding. --- libstore/encode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libstore') diff --git a/libstore/encode.c b/libstore/encode.c index bf9ab398..e56dbea1 100644 --- a/libstore/encode.c +++ b/libstore/encode.c @@ -55,7 +55,10 @@ store_default_leaf_encode (struct store *store, struct store_enc *enc) enc->ints[enc->cur_int++] = store->misc_len; for (i = 0; i < store->num_runs; i++) - enc->offsets[enc->cur_offset++] = store->runs[i]; + { + enc->offsets[enc->cur_offset++] = store->runs[i].start; + enc->offsets[enc->cur_offset++] = store->runs[i].length; + } if (store->name) { -- cgit v1.2.3