Changeset 616

Show
Ignore:
Timestamp:
01/19/08 09:50:42 (11 months ago)
Author:
boo..@youngpup.net
Message:

Use constants for min and max int32 instead of bitshifting.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/chrome/chromeFiles/content/prefmanager.js

    r608 r616  
    11var GM_prefRoot = new GM_PrefManager(); 
    22 
    3 GM_PrefManager.MIN_INT_32 = (1 << 31)
    4 GM_PrefManager.MAX_INT_32 = ~(1 << 31)
     3GM_PrefManager.MIN_INT_32 = -0x80000000
     4GM_PrefManager.MAX_INT_32 = 0x7FFFFFFF
    55 
    66/**