Mercurial > hg > truffle
diff src/share/vm/memory/blockOffsetTable.hpp @ 645:c3a720eefe82
6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
Summary: Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003
Reviewed-by: ohair, tbell, jcoomes
author | kvn |
---|---|
date | Mon, 16 Mar 2009 15:06:33 -0700 |
parents | eb28cf662f56 |
children | bd02caa94611 |
line wrap: on
line diff
--- a/src/share/vm/memory/blockOffsetTable.hpp Fri Mar 13 18:39:22 2009 -0700 +++ b/src/share/vm/memory/blockOffsetTable.hpp Mon Mar 16 15:06:33 2009 -0700 @@ -235,7 +235,7 @@ }; static size_t power_to_cards_back(uint i) { - return 1 << (LogBase * i); + return (size_t)(1 << (LogBase * i)); } static size_t power_to_words_back(uint i) { return power_to_cards_back(i) * N_words;