зеркало из https://github.com/mozilla/gecko-dev.git
Bug 569608 - gfxTextRunWordCache.cpp compilation failure on mingw-w64 due to pointer to long cast loosing precision r=vladimir
--HG-- extra : rebase_source : 3142d17d9c28beb1a2034a555b2ffe4a95e71f9c
This commit is contained in:
Родитель
289901d403
Коммит
e3b73e2d7b
|
@ -945,7 +945,7 @@ TextRunWordCache::CacheHashEntry::HashKey(const KeyTypePointer aKey)
|
||||||
PRUint32 fontSetGen;
|
PRUint32 fontSetGen;
|
||||||
LL_L2UI(fontSetGen, aKey->mUserFontSetGeneration);
|
LL_L2UI(fontSetGen, aKey->mUserFontSetGeneration);
|
||||||
|
|
||||||
return aKey->mStringHash + fontSetGen + (long)aKey->mFontOrGroup + aKey->mAppUnitsPerDevUnit +
|
return aKey->mStringHash + fontSetGen + (PRUint32)(intptr_t)aKey->mFontOrGroup + aKey->mAppUnitsPerDevUnit +
|
||||||
aKey->mIsDoubleByteText + aKey->mIsRTL*2 + aKey->mEnabledOptionalLigatures*4 +
|
aKey->mIsDoubleByteText + aKey->mIsRTL*2 + aKey->mEnabledOptionalLigatures*4 +
|
||||||
aKey->mOptimizeSpeed*8;
|
aKey->mOptimizeSpeed*8;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче