mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
8076f21e8e
commit
24192bbd00
3 changed files with 33 additions and 29 deletions
|
|
@ -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)\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue