aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
authorbellard <bellard>2004-10-04 22:06:22 +0000
committerbellard <bellard>2004-10-04 22:06:22 +0000
commit3bd3c71fd11b1a64cd5d3b54df9520a4443b2702 (patch)
treead2e513beebbcd9f5bc56c46764da4a85c897ab2 /i386-gen.c
parent79c72b241998ee9ae533ae31a78913c4c50ca43e (diff)
downloadtinycc-3bd3c71fd11b1a64cd5d3b54df9520a4443b2702.tar.gz
tinycc-3bd3c71fd11b1a64cd5d3b54df9520a4443b2702.tar.bz2
faster (Daniel Glöckner)
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 6d924c2..92aa489 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -100,11 +100,11 @@ void g(int c)
ind = ind1;
}
-void o(int c)
+void o(unsigned int c)
{
while (c) {
g(c);
- c = c / 256;
+ c = c >> 8;
}
}