We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af54568 commit edf9fdfCopy full SHA for edf9fdf
src/random/mod.rs
@@ -117,7 +117,7 @@ impl RandomEngine {
117
unsafe {
118
let mut temp: i64 = 0;
119
let err_val = af_create_random_engine(&mut temp as MutRandEngine, rengine as uint8_t,
120
- match seed {Some(s) => s, None => 0} as c_ulong);
+ match seed {Some(s) => s, None => 0} as Uintl);
121
HANDLE_ERROR(AfError::from(err_val));
122
RandomEngine::from(temp)
123
}
0 commit comments