Skip to content

Commit ccbd108

Browse files
committed
---
yaml --- r: 126388 b: refs/heads/try c: 081991e h: refs/heads/master v: v3
1 parent 3d04876 commit ccbd108

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 2a47fa708cfbf6b90a8ffacbaf00b8250bfa72cd
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: 9bdaf0b5da1334f9a7101c36f11807dab5e11c81
5+
refs/heads/try: 081991e7e1d4181a22687331b0f504765370835d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/rand/os.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,11 @@ mod imp {
136136
use rand::Rng;
137137
use result::{Ok, Err};
138138
use rt::stack;
139-
use self::libc::{c_ulong, DWORD, BYTE, LPCSTR, BOOL};
139+
use self::libc::{DWORD, BYTE, LPCSTR, BOOL};
140+
use self::libc::types::os::arch::extra::{LONG_PTR};
140141
use slice::MutableVector;
141142

142-
type HCRYPTPROV = c_ulong;
143+
type HCRYPTPROV = LONG_PTR;
143144

144145
/// A random number generator that retrieves randomness straight from
145146
/// the operating system. Platform sources:

0 commit comments

Comments
 (0)