summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/extern.c6
-rw-r--r--byterun/intext.h3
2 files changed, 3 insertions, 6 deletions
diff --git a/byterun/extern.c b/byterun/extern.c
index 31957de07..c4ce514eb 100644
--- a/byterun/extern.c
+++ b/byterun/extern.c
@@ -33,12 +33,12 @@ struct extern_obj {
};
static struct extern_obj * extern_table;
-static asize_t extern_table_size;
+static unsigned long extern_table_size;
#ifdef SIXTYFOUR
-#define Hash(v) (((asize_t) ((v) >> 3)) % extern_table_size)
+#define Hash(v) (((unsigned long) ((v) >> 3)) % extern_table_size)
#else
-#define Hash(v) (((asize_t) ((v) >> 2)) % extern_table_size)
+#define Hash(v) (((unsigned long) ((v) >> 2)) % extern_table_size)
#endif
static void alloc_extern_table()
diff --git a/byterun/intext.h b/byterun/intext.h
index 5247b00a8..7ffafefea 100644
--- a/byterun/intext.h
+++ b/byterun/intext.h
@@ -58,9 +58,6 @@
/* Initial sizes of data structures for extern */
-#ifndef INITIAL_EXTERN_SIZE
-#define INITIAL_EXTERN_SIZE 4096
-#endif
#ifndef INITIAL_EXTERN_TABLE_SIZE
#define INITIAL_EXTERN_TABLE_SIZE 2039
#endif