]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix printf format in typecheck.c
authorRob Pike <r@golang.org>
Wed, 19 Feb 2014 20:50:50 +0000 (15:50 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 19 Feb 2014 20:50:50 +0000 (15:50 -0500)
commit78404dfb84a70bbbe0134e3aa63038c9b4cd146e
treec4fca7361a1d2d97cff8e6e471f365849af5be9a
parente6f5debd0c020ef3d6a07b9328084af40e899a36
cmd/gc: fix printf format in typecheck.c
There are probably more of these, but bound and len are 64 bits so use %lld
in message about array index out of bounds.
Fixes the 386 build.

LGTM=bradfitz, rsc
R=rsc, bradfitz
CC=golang-codereviews, rickarnoldjr
https://golang.org/cl/66110043
src/cmd/gc/typecheck.c