about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDave Huseby <dhuseby@mozilla.com>2016-02-17 21:40:33 +0000
committerDave Huseby <dhuseby@mozilla.com>2016-02-17 21:40:33 +0000
commitaeda8445a7295b7ca9e836db8c0328829cd6ee21 (patch)
tree022e6083121454f1c8b0d1380b766579e37d014c
parentb54770c24578311ad6cc782fcf1d0dc8cb41e997 (diff)
downloadrust-aeda8445a7295b7ca9e836db8c0328829cd6ee21.tar.gz
rust-aeda8445a7295b7ca9e836db8c0328829cd6ee21.zip
fixes a small netbsd compile error
-rw-r--r--src/libstd/os/netbsd/raw.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/os/netbsd/raw.rs b/src/libstd/os/netbsd/raw.rs
index 7eb3f6d47d1..bc30c1a7f48 100644
--- a/src/libstd/os/netbsd/raw.rs
+++ b/src/libstd/os/netbsd/raw.rs
@@ -46,9 +46,9 @@ pub struct stat {
     #[stable(feature = "raw_ext", since = "1.1.0")]
     pub st_nlink: u32,
     #[stable(feature = "raw_ext", since = "1.1.0")]
-    pub st_uid: u32,
+    pub st_uid: uid_t,
     #[stable(feature = "raw_ext", since = "1.1.0")]
-    pub st_gid: u32,
+    pub st_gid: gid_t,
     #[stable(feature = "raw_ext", since = "1.1.0")]
     pub st_rdev: u64,
     #[stable(feature = "raw_ext", since = "1.1.0")]