shithub: riscv

Download patch

ref: d4e66accaa268cf6dc4a930c336e94fb75a455db
parent: fa09758a739ad9cb42be295135fad3ab4817e2bb
author: cinap_lenrek <[email protected]>
date: Thu Jun 12 10:05:10 EDT 2014

libsec: use u32int instead of uint when we need 32 bit (thanks erik)

--- a/sys/src/libsec/port/dsaprimes.c
+++ b/sys/src/libsec/port/dsaprimes.c
@@ -12,7 +12,7 @@
 static void
 Hrand(uchar *s)
 {
-	uint *u = (uint*)s;
+	u32int *u = (u32int*)s;
 	*u++ = fastrand();
 	*u++ = fastrand();
 	*u++ = fastrand();