1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:21:21 -06:00
go/src/cmd/nm
Russ Cox d9c989fa25 various: avoid %ld etc
The Plan 9 tools assume that long is 32 bits.
We converted all instances of long to int32 when
importing the code but missed the print formats.
Because int32 is always int on the compilers we use,
it is never correct to use %lux, %ld, etc.  Convert to %ux, %d, etc.

(It matters because on 64-bit gcc, long is 64 bits,
so we were printing 32-bit quantities with 64-bit formats.)

R=ken2
CC=golang-dev
https://golang.org/cl/2491041
2010-10-13 16:20:22 -04:00
..
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
Makefile build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
nm.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00