summaryrefslogtreecommitdiff
path: root/misc/libquantum/patches/patch-aa
blob: 89a75d2deacd32cb7e33ee5d3e8293665b37fa58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2010/08/15 07:35:56 obache Exp $

--- measure.c.orig	2008-09-07 11:02:28.000000000 +0000
+++ measure.c
@@ -40,7 +40,7 @@
 double 
 quantum_frand()
 {
-  return (double) rand() / RAND_MAX;
+  return (double) random() / RAND_MAX;
 }
 
 /* Measure the contents of a quantum register */