about summary refs log tree commit diff
path: root/src/rt/rust_log.cpp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-06-10 18:32:38 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-06-10 18:32:38 -0700
commita1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2 (patch)
treeafd63e488b698537443f4370cf3db5f5d217ba84 /src/rt/rust_log.cpp
parent603ad1748baa9f5e723bd930888e2adf5a768a4c (diff)
downloadrust-a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2.tar.gz
rust-a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2.zip
Make darwin happy.
Diffstat (limited to 'src/rt/rust_log.cpp')
-rw-r--r--src/rt/rust_log.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp
index 6fb1853e3bc..01e92e1f23d 100644
--- a/src/rt/rust_log.cpp
+++ b/src/rt/rust_log.cpp
@@ -269,8 +269,9 @@ void update_log_settings(void* crate_map, char* settings) {
                      n_dirs, &n_matches);
 
     if (n_matches < n_dirs) {
-        printf("warning: got %u RUST_LOG specs, enabled %u flags.",
-               n_dirs, n_matches);
+        printf("warning: got %" PRIdPTR " RUST_LOG specs, "
+               "enabled %" PRIdPTR " flags.",
+               (uintptr_t)n_dirs, (uintptr_t)n_matches);
     }
 
     free(buffer);