X-Git-Url: http://plrg.eecs.uci.edu/git/?p=junction.git;a=blobdiff_plain;f=junction%2Fdetails%2FLeapFrog.h;h=800d7374e2dcc1470c95e90c03ed090d54f2a7b7;hp=e5af7b8211c7d74991a0a6c682d64db121c7f23d;hb=6a7fe65045a50f9830aa674fcacf16f4e580eaa2;hpb=5ef33e5ba05721c917894fbe41f02394e719d1ce diff --git a/junction/details/LeapFrog.h b/junction/details/LeapFrog.h index e5af7b8..800d737 100644 --- a/junction/details/LeapFrog.h +++ b/junction/details/LeapFrog.h @@ -191,7 +191,7 @@ struct LeapFrog { TURF_ASSERT(table); TURF_ASSERT(hash != KeyTraits::NullHash); ureg sizeMask = table->sizeMask; - ureg idx = hash; + ureg idx = ureg(hash); // Check hashed cell first, though it may not even belong to the bucket. CellGroup* group = table->getCellGroups() + ((idx & sizeMask) >> 2);