1
0
mirror of https://github.com/golang/go synced 2024-09-24 05:10:13 -06:00

libbio: add casts to eliminate -Wconversion warning

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/87140044
This commit is contained in:
Ian Lance Taylor 2014-04-14 09:36:47 -07:00
parent 41ff456f69
commit 1e1506a2c1

View File

@ -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