From 0dfc90ab15475aa64bea393671463a8e9784ae3f Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 25 Jun 2014 12:47:34 -0700 Subject: Rename all raw pointers as necessary --- src/libtime/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtime') diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index 94a7acaf076..3ed7fccb933 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -1091,7 +1091,7 @@ mod tests { // `SetEnvironmentVariable`, which `os::setenv` internally uses. // It is why we use `putenv` here. extern { - fn _putenv(envstring: *libc::c_char) -> libc::c_int; + fn _putenv(envstring: *const libc::c_char) -> libc::c_int; } unsafe { -- cgit 1.4.1-3-g733a5