diff options
| author | Lucio De Re <lucio.dere@gmail.com> | 2014-04-07 08:40:13 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2014-04-07 08:40:13 -0700 |
| commit | 24192bbd001385ca15ed1f769ddb467e41f4bf9c (patch) | |
| tree | 632bee39c265a2e17f51172482071b48f9af46a9 /include | |
| parent | 8076f21e8ea9cd3fc7d0fd23b2262fce662e4bde (diff) | |
| download | go-24192bbd001385ca15ed1f769ddb467e41f4bf9c.tar.xz | |
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://golang.org/cl/73460043
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 c9c3332e82..f61409b8a3 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)\ |
