mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +02:00
Cosmetics.
This commit is contained in:
parent
ca4098caac
commit
2c5f599327
3 changed files with 17 additions and 17 deletions
|
@ -24,7 +24,7 @@ import org.eclipse.cdt.internal.core.pdom.db.Database;
|
|||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
/**
|
||||
* Sanity check the DBProperties class
|
||||
* Tests for the {@link DBProperties} class.
|
||||
*/
|
||||
public class DBPropertiesTests extends BaseTestCase {
|
||||
File dbLoc;
|
||||
|
|
|
@ -130,7 +130,7 @@ final class Chunk {
|
|||
* have an unsigned 32-bit value as a long. This gives us one more useful bit in the
|
||||
* stored record pointers.
|
||||
*/
|
||||
long address = value & (((long) 1 << Integer.SIZE) - 1);
|
||||
long address = value & 0xFFFFFFFFL;
|
||||
return address << Database.BLOCK_SIZE_DELTA_BITS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue