6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003

Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003

Reviewed-by: ohair, tbell, jcoomes
This commit is contained in:
Vladimir Kozlov 2009-03-16 15:06:33 -07:00
parent b8dbe8d8f6
commit f210928e73
12 changed files with 23 additions and 17 deletions

View file

@ -235,7 +235,7 @@ class BlockOffsetArray: public BlockOffsetTable {
};
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;