about summary refs log tree commit diff
path: root/src/libtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtime')
-rw-r--r--src/libtime/lib.rs2
1 files changed, 1 insertions, 1 deletions
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 {