[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tyson Smith <tyson.w.smith@xxxxxxxxx>

---
 random.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/random.c b/random.c
index 8b8de04..bbfc8da 100644
--- a/random.c
+++ b/random.c
@@ -87,7 +87,7 @@ static unsigned long rept_byte(void)
  */
 unsigned int rand32(void)
 {
-	unsigned long r = 0;
+	unsigned int r = 0;
 
 	switch (rand() % 4) {
 	case 0: r = rand_single_bit(32);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux