diff options
Diffstat (limited to 'src/agent.rs')
-rw-r--r-- | src/agent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.rs b/src/agent.rs index 913ebed..a5a0eb1 100644 --- a/src/agent.rs +++ b/src/agent.rs @@ -1,5 +1,5 @@ use std::ffi::CString; -use std::kinds::marker; +use std::marker; use std::slice; use std::str; @@ -122,7 +122,7 @@ impl<'agent> PublicKey<'agent> { pub fn blob(&self) -> &[u8] { unsafe { slice::from_raw_mut_buf(&(*self.raw).blob, - (*self.raw).blob_len as uint) + (*self.raw).blob_len as usize) } } |