]> Cypherpunks repositories - gostls13.git/commit
cmd/cc: fix undefined behaviour warning in bv.c
authorDave Cheney <dave@cheney.net>
Mon, 8 Sep 2014 06:06:41 +0000 (16:06 +1000)
committerDave Cheney <dave@cheney.net>
Mon, 8 Sep 2014 06:06:41 +0000 (16:06 +1000)
commit4a40fb197931a23c11ff4d677ecee6aefd99d5ca
tree35c0264c36dee4a8d4716104388f35e8d5a54010
parent6a2e844f5179e85085723be29c9ba97f1286b698
cmd/cc: fix undefined behaviour warning in bv.c

Fixes warning

# _/home/dfc/go/misc/cgo/test/backdoor
/home/dfc/go/src/cmd/cc/bv.c:43:11: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/136330043
src/cmd/cc/bv.c