Skip to content

Commit 475c659

Browse files
committed
---
yaml --- r: 126413 b: refs/heads/master c: 081991e h: refs/heads/master i: 126411: c8b5b6a v: v3
1 parent 8a8cb57 commit 475c659

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9bdaf0b5da1334f9a7101c36f11807dab5e11c81
2+
refs/heads/master: 081991e7e1d4181a22687331b0f504765370835d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
55
refs/heads/try: cd2003ffd8dd976342f9e8fc1429ae93d6780e81

trunk/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)