From d24327b243db443522d82ed7259857830b7058bc Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 16 Jun 2014 22:12:36 +0200 Subject: [PATCH] whoami: use libc::uid_t where appropriate --- whoami/whoami.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whoami/whoami.rs b/whoami/whoami.rs index cedb32778..4abe953e7 100644 --- a/whoami/whoami.rs +++ b/whoami/whoami.rs @@ -32,7 +32,7 @@ mod platform { #[path = "../../common/c_types.rs"] mod c_types; extern { - pub fn geteuid() -> libc::c_int; + pub fn geteuid() -> libc::uid_t; } pub unsafe fn getusername() -> String {