]> Cypherpunks repositories - gostls13.git/commit
lib9: restore printing of signed integers
authorRuss Cox <rsc@golang.org>
Sun, 30 Jun 2013 23:53:36 +0000 (19:53 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 30 Jun 2013 23:53:36 +0000 (19:53 -0400)
commit0a4fc122de2d0c5da7e89feb7c079e602612a2fd
tree7f0298903a608cec609c04799580af77c63f692b
parentc1fc8d529654e5a98f82e5d835d1c9f659957a1b
lib9: restore printing of signed integers

A casualty of https://golang.org/cl/10195044.

If x is an 32-bit int and u is a 64-bit ulong,
        u = (uint)x // converts to uint before extension, so zero fills
        u = (ulong)x // sign-extends

TBR=iant, r
CC=golang-dev
https://golang.org/cl/10814043
src/lib9/fmt/dofmt.c