diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-15 17:16:16 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-15 17:50:22 -0700 |
| commit | ce3f369047108e8cf28f16cd75f2301e61e6f019 (patch) | |
| tree | de2ec569abe2f3374390b751dd96f9d2e0c15716 /src/libcore | |
| parent | e3222e990548e1c7dc35eaab3c6b3dc060d11f6a (diff) | |
| download | rust-ce3f369047108e8cf28f16cd75f2301e61e6f019.tar.gz rust-ce3f369047108e8cf28f16cd75f2301e61e6f019.zip | |
Change ctypes::intptr_t to int
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ctypes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ctypes.rs b/src/libcore/ctypes.rs index 009ce986631..7f79c590b62 100644 --- a/src/libcore/ctypes.rs +++ b/src/libcore/ctypes.rs @@ -2,7 +2,7 @@ /* FIXME: Add a test that uses some native code to verify these sizes, -which are not obviously correct for all potential platforms. +which are not obviously correct for all potential platforms. (see Issue #1990) */ export c_char, c_int, c_uint, long, longlong, unsigned, ulong, ulonglong; @@ -44,7 +44,7 @@ type ulonglong = u64; A signed integer with the same size as a pointer. This is guaranteed to always be the same type as a Rust `int`. "] -type intptr_t = uint; // FIXME: int +type intptr_t = int; #[doc = " An unsigned integer with the same size as a pointer. This is |
