shithub: riscv

Download patch

ref: d99a4ed1b8d06a5163b1cceb8d4cfe285faa70b2
parent: 94d3d64c881182fe0407bc9b4db2c4bde0dcf254
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 15 01:26:49 EST 2015

wc: flags dont need to be uvlong

--- a/sys/src/cmd/wc.c
+++ b/sys/src/cmd/wc.c
@@ -9,11 +9,11 @@
 #include <u.h>
 #include <libc.h>
 #define	NBUF	(8*1024)
-uvlong nline, tnline, pline;
-uvlong nword, tnword, pword;
-uvlong nrune, tnrune, prune;
-uvlong nbadr, tnbadr, pbadr;
-uvlong nchar, tnchar, pchar;
+uvlong nline, tnline; int pline;
+uvlong nword, tnword; int pword;
+uvlong nrune, tnrune; int prune;
+uvlong nbadr, tnbadr; int pbadr;
+uvlong nchar, tnchar; int pchar;
 void count(int, char *);
 void report(uvlong, uvlong, uvlong, uvlong, uvlong, char *);
 void