• Russ Cox's avatar
    time: prepare for 64-bit ints · edce6349
    Russ Cox authored
    The code was trying to interpret a uint32 n as a signed quantity
    and then store it in an int. For this, int(n) currently works, but when
    int becomes 64 bits one must write int(int32(n)) instead, to get
    the 32-bit sign extension.
    
    Update #2188.
    
    R=golang-dev, nigeltao
    CC=golang-dev
    https://golang.org/cl/6551068
    edce6349
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...