diff options
author | Lucio De Re <lucio.dere@gmail.com> | 2014-04-07 08:40:13 -0700 |
---|---|---|
committer | Lucio De Re <lucio.dere@gmail.com> | 2014-04-07 08:40:13 -0700 |
commit | 51be46e0659cd95778c7c761a2cd3800eb4d8f2c (patch) | |
tree | 44845c134f866227a5a1b5910b202c830d093fb0 /include | |
parent | 5f16adf34870d4fd287a34300e0852d6ab529f83 (diff) | |
download | go-51be46e0659cd95778c7c761a2cd3800eb4d8f2c.tar.gz |
libbio, libmach: warnings from the Plan 9 tool chain
Superficial inconsistencies that trigger warnings in
Plan 9. Small enough to be considered trivial and
seemingly benign outside of the Plan 9 environment.
LGTM=iant
R=golang-codereviews, 0intro, iant
CC=golang-codereviews
https://codereview.appspot.com/73460043
Committer: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/bio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bio.h b/include/bio.h index c9c3332e8..f61409b8a 100644 --- a/include/bio.h +++ b/include/bio.h @@ -73,7 +73,7 @@ struct Biobuf * next few bytes in little-endian order. */ #define BGETC(bp)\ - ((bp)->icount?(bp)->ebuf[(bp)->icount++]:Bgetc((bp))) + ((bp)->icount?(int)((bp)->ebuf[(bp)->icount++]):Bgetc((bp))) #define BGETLE2(bp)\ ((bp)->icount<=-2?((bp)->icount+=2,((bp)->ebuf[(bp)->icount-2])|((bp)->ebuf[(bp)->icount-1]<<8)):Bgetle2((bp))) #define BGETLE4(bp)\ |