git: 9front

Download patch

ref: a17aafc1d0275c92e62eebb7f3af59ea326338e4
parent: 025bb573484a4a04da5018e775c94f57ef014825
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);
 	}
 }
 
--