about summary refs log tree commit diff
path: root/src/libpanic_unwind
diff options
context:
space:
mode:
authorJoshua Sheard <mail@jsheard.com>2017-05-06 15:46:16 +0100
committerJoshua Sheard <mail@jsheard.com>2017-05-06 15:46:16 +0100
commitdb8be04e49f32d36270e87b71b74c4b71764647e (patch)
treeb771451bd73c2454066820b3ed0575ac871c197e /src/libpanic_unwind
parent8aad3a3524fd04db3e6ddf59604d33c8e3797108 (diff)
downloadrust-db8be04e49f32d36270e87b71b74c4b71764647e.tar.gz
rust-db8be04e49f32d36270e87b71b74c4b71764647e.zip
Fix definitions of ULONG_PTR
Diffstat (limited to 'src/libpanic_unwind')
-rw-r--r--src/libpanic_unwind/windows.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libpanic_unwind/windows.rs b/src/libpanic_unwind/windows.rs
index fd8429d262e..a7e90071cea 100644
--- a/src/libpanic_unwind/windows.rs
+++ b/src/libpanic_unwind/windows.rs
@@ -12,11 +12,11 @@
 #![allow(dead_code)]
 #![cfg(windows)]
 
-use libc::{c_long, c_ulong, c_ulonglong, c_void};
+use libc::{c_long, c_ulong, c_void};
 
 pub type DWORD = c_ulong;
 pub type LONG = c_long;
-pub type ULONG_PTR = c_ulonglong;
+pub type ULONG_PTR = usize;
 pub type LPVOID = *mut c_void;
 
 pub const EXCEPTION_MAXIMUM_PARAMETERS: usize = 15;