shithub: riscv

Download patch

ref: fafc17b04933b27aff30e0bee26475872781632a
parent: 03f68c49f66e2d33acd73a25eac8a1bc0acbf38d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Jul 11 23:02:21 EDT 2014

expr: fix missing type declarations for match(), which broke on amd64 as pointers dont fit into a long

--- a/sys/src/ape/cmd/expr/expr.y
+++ b/sys/src/ape/cmd/expr/expr.y
@@ -211,6 +211,8 @@
 }
 
 char *match(s, p)
+char *s;
+register char *p;
 {
 	register char *rv;