summaryrefslogtreecommitdiff
path: root/gcc/gbl-ctors.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-08-05 09:22:40 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-08-05 09:22:40 -0700
commit976ef4f727499247c733bf00b357efba0ffaa288 (patch)
tree2fab8a4200894b47c837e75c0b8a43eb90e5dd82 /gcc/gbl-ctors.h
parent26f887e56da03a97d670ef14e47ce597f1898ed8 (diff)
downloadgcc-976ef4f727499247c733bf00b357efba0ffaa288.tar.gz
(DO_GLOBAL_CTORS_BODY): Use long instead of
HOST_WIDE_INT. From-SVN: r7859
Diffstat (limited to 'gcc/gbl-ctors.h')
-rw-r--r--gcc/gbl-ctors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gbl-ctors.h b/gcc/gbl-ctors.h
index 32ff0333991..3e2ab835636 100644
--- a/gcc/gbl-ctors.h
+++ b/gcc/gbl-ctors.h
@@ -74,7 +74,7 @@ extern void __do_global_dtors ();
#ifndef DO_GLOBAL_CTORS_BODY
#define DO_GLOBAL_CTORS_BODY \
do { \
- unsigned nptrs = (unsigned HOST_WIDE_INT) __CTOR_LIST__[0]; \
+ unsigned long nptrs = (unsigned long) __CTOR_LIST__[0]; \
unsigned i; \
if (nptrs == -1) \
for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++); \