]> Cypherpunks repositories - gostls13.git/commit
Use unsigned int in itoa to avoid relying on the behaviour of
authorIan Lance Taylor <iant@golang.org>
Mon, 29 Sep 2008 20:40:23 +0000 (13:40 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 29 Sep 2008 20:40:23 +0000 (13:40 -0700)
commit489b5001e22ceb1faf7624a70d17247f0b15113d
treea8a2d26a43f29bf3a369e6c1c754fae18511c850
parente4a61c6524bd6877c962db4dd89b3df8cea711b3
Use unsigned int in itoa to avoid relying on the behaviour of
signed integer overflow when negating the most negative
integer.

R=rsc
DELTA=11  (0 added, 7 deleted, 4 changed)
OCL=16105
CL=16120
src/lib/strings.go