diff --git a/src/eratosthene-array.c b/src/eratosthene-array.c index d3a5328..f6e47be 100644 --- a/src/eratosthene-array.c +++ b/src/eratosthene-array.c @@ -278,6 +278,9 @@ /* check failure */ if ( le_fail < _LE_USE_RETRY ) { + /* serialise array size */ + le_array->ar_csize = ( ( le_size_t * ) le_array->ar_rbyte )[1]; + /* return array mode */ return( le_array->ar_rbyte[LE_ARRAY_HEADER_SIZE] );