summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorCharles Crayne <chuck@thor.crayne.org>2007-11-07 19:03:46 -0800
committerCharles Crayne <chuck@thor.crayne.org>2007-11-07 19:03:46 -0800
commit5fbbc8c2e7fbf6756fd1e8a400c6295c2428b897 (patch)
tree09ca73dd80523d4ab459961b01a1263ae657c5f7 /nasmlib.c
parent8c7eca493600aa2ee39554dfe8712fb30a8cec3f (diff)
downloadnasm-5fbbc8c2e7fbf6756fd1e8a400c6295c2428b897.tar.gz
nasm-5fbbc8c2e7fbf6756fd1e8a400c6295c2428b897.tar.bz2
nasm-5fbbc8c2e7fbf6756fd1e8a400c6295c2428b897.zip
Upgrade RAA functions to hold 64-bit data.
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasmlib.c b/nasmlib.c
index f065183..c05746a 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -459,7 +459,7 @@ void raa_free(struct RAA *r)
}
}
-int32_t raa_read(struct RAA *r, int32_t posn)
+int64_t raa_read(struct RAA *r, int32_t posn)
{
if (posn >= r->stepsize * LAYERSIZ(r))
return 0; /* Return 0 for undefined entries */
@@ -474,7 +474,7 @@ int32_t raa_read(struct RAA *r, int32_t posn)
return r->u.l.data[posn];
}
-struct RAA *raa_write(struct RAA *r, int32_t posn, int32_t value)
+struct RAA *raa_write(struct RAA *r, int32_t posn, int64_t value)
{
struct RAA *result;