From: Ian Lance Taylor Date: Mon, 14 Apr 2014 16:36:47 +0000 (-0700) Subject: libbio: add casts to eliminate -Wconversion warning X-Git-Tag: go1.3beta1~98 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e1506a2c1f12362ee5015ef23e9cf092ff284e4;p=gostls13.git libbio: add casts to eliminate -Wconversion warning LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/87140044 --- diff --git a/src/libbio/bgetc.c b/src/libbio/bgetc.c index 3399fb16b3..ceb5cb13f8 100644 --- a/src/libbio/bgetc.c +++ b/src/libbio/bgetc.c @@ -83,7 +83,7 @@ Bgetle4(Biobuf *bp) l = Bgetle2(bp); h = Bgetle2(bp); - return l|((uint32)h<<16); + return (int)((uint32)l|((uint32)h<<16)); } int