summaryrefslogtreecommitdiff
path: root/outbin.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 20:52:08 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 20:52:08 +0000
commitd7ed89eac9580f280fe0017b22c8e38ca75ed8e3 (patch)
tree98c4fcdd286b44e14f79aa65271e5caa1c2c7be4 /outbin.c
parentea8382740dbe5e1607742d0a7c7c139dffcc5ae5 (diff)
downloadnasm-d7ed89eac9580f280fe0017b22c8e38ca75ed8e3.tar.gz
NASM 0.94nasm-0.94
Diffstat (limited to 'outbin.c')
-rw-r--r--outbin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/outbin.c b/outbin.c
index 82c85106..362e4f84 100644
--- a/outbin.c
+++ b/outbin.c
@@ -35,7 +35,7 @@ static struct Reloc {
struct Section *target;
} *relocs, **reloctail;
-static int start_point;
+static long start_point;
static void add_reloc (struct Section *s, long bytes, long secref,
long secrel) {
@@ -57,7 +57,7 @@ static void bin_init (FILE *afp, efunc errfunc, ldfunc ldef) {
error = errfunc;
(void) ldef; /* placate optimisers */
- start_point = 0; /* default */
+ start_point = 0L; /* default */
textsect.contents = saa_init(1L);
datasect.contents = saa_init(1L);
textsect.length = datasect.length = 0;