diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-26 22:49:19 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-26 22:49:19 +0000 |
commit | d6696dbe1a2c26a143a6470bd74d471a2ab87db8 (patch) | |
tree | d28f2b36b28b465f10973ff6913454464d0e318f /nasmlib.c | |
parent | 372aad95472f0b373bd907cda0668f916ee34a0c (diff) | |
download | nasm-d6696dbe1a2c26a143a6470bd74d471a2ab87db8.tar.gz |
Fix really stupid thinko on my part...
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -332,14 +332,14 @@ static struct RAA *real_raa_init (int layers) struct RAA *r; int i; - r->layers = layers; - if (layers == 0) { r = nasm_malloc (LEAFSIZ); + r->layers = 0; memset (r->u.l.data, 0, sizeof(r->u.l.data)); r->stepsize = 1L; } else { r = nasm_malloc (BRANCHSIZ); + r->layers = layers; for ( i = 0 ; i < RAA_LAYERSIZE ; i++ ) r->u.b.data[i] = NULL; r->stepsize = RAA_BLKSIZE; |