diff options
author | Darkvater <Darkvater@openttd.org> | 2006-08-15 00:19:01 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-08-15 00:19:01 +0000 |
commit | 0f2f6336b96df7570b0c256619af3cfe1ad41fe5 (patch) | |
tree | a2854ce75260fafdb90a1ae4b775168df0617b2e | |
parent | dae5403971577101a898982eb79d82913d9462dc (diff) | |
download | openttd-0f2f6336b96df7570b0c256619af3cfe1ad41fe5.tar.xz |
(svn r5902) -Fix [FS#26]: BIGMULS return-type fix (Graphite)
-rw-r--r-- | macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ static inline uint32 BIGMULUS(uint32 a, uint32 b, int shift) { } static inline int64 BIGMULS(int32 a, int32 b) { - return (int32)(((int64)(a) * (int64)(b))); + return (int64)(a) * (int64)(b); } /* OPT: optimized into an unsigned comparison */ |