ref: 8820b3d9ea682635f35d5775bfa68831a5ad30ed
parent: 7f832df53d2a1d45fb7c7b2129e56b6b9e855682
author: cinap_lenrek <[email protected]>
date: Wed Aug 4 13:21:54 EDT 2021
cat: remove stupid long cast
--- a/sys/src/cmd/cat.c
+++ b/sys/src/cmd/cat.c
@@ -7,7 +7,7 @@
char buf[8192];
long n;
- while((n=read(f, buf, (long)sizeof buf))>0)
+ while((n=read(f, buf, sizeof buf))>0)
if(write(1, buf, n)!=n)
sysfatal("write error copying %s: %r", s);
if(n < 0)