--- a/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c Thu Oct 07 12:25:23 2010 +0400
+++ b/jdk/src/share/native/sun/awt/medialib/mlib_ImageLookUp_64.c Fri Oct 15 10:42:39 2010 +0400
@@ -558,10 +558,11 @@
const mlib_d64 **table)
{
const mlib_d64 *table_base[4];
+ mlib_u32 shift = TABLE_SHIFT_S32;
mlib_s32 c;
for (c = 0; c < csize; c++) {
- table_base[c] = &table[c][TABLE_SHIFT_S32];
+ table_base[c] = &table[c][shift];
}
MLIB_C_IMAGELOOKUP(mlib_d64, mlib_s32, table_base);
@@ -1039,10 +1040,11 @@
const mlib_d64 **table)
{
const mlib_d64 *table_base[4];
+ mlib_u32 shift = TABLE_SHIFT_S32;
mlib_s32 c;
for (c = 0; c < csize; c++) {
- table_base[c] = &table[c][TABLE_SHIFT_S32];
+ table_base[c] = &table[c][shift];
}
MLIB_C_IMAGELOOKUPSI(mlib_d64, mlib_s32, table_base);