projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
372aad9
)
Fix really stupid thinko on my part...
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 26 May 2002 22:49:19 +0000
(22:49 +0000)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 26 May 2002 22:49:19 +0000
(22:49 +0000)
nasmlib.c
patch
|
blob
|
history
diff --git
a/nasmlib.c
b/nasmlib.c
index
003e14e
..
910c0ee
100644
(file)
--- a/
nasmlib.c
+++ b/
nasmlib.c
@@
-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;