shithub: riscv

Download patch

ref: dd4a487b0e1988ba9b61a836a84205a966e40f5a
parent: 80deec0a7b49bd5d51eb1f6552cf5838bcf5d121
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Feb 14 09:14:17 EST 2014

webfs: fix compiler warning

--- a/sys/src/cmd/webfs/fs.c
+++ b/sys/src/cmd/webfs/fs.c
@@ -167,7 +167,7 @@
 	case Qclient:
 		q->type = QTDIR;
 	default:
-		q->path = (level<<24) | (((ulong)aux ^ time0) & 0x00ffffff);
+		q->path = (level<<24) | (((uintptr)aux ^ time0) & 0x00ffffff);
 	}
 }