Fix calculation of sizeof boxed ivec of str in rt. Closes #712

This commit is contained in:
Brian Anderson
2011-07-19 16:55:09 -07:00
parent 19a17b3d1d
commit 652214d7f9
3 changed files with 15 additions and 2 deletions

View File

@@ -202,6 +202,7 @@ rust_ivec_heap
uint8_t data[];
};
// Note that the payload is actually size 4*sizeof(elem), even when heapified
union
rust_ivec_payload
{