diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-06-10 18:32:38 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-10 18:32:38 -0700 |
| commit | a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2 (patch) | |
| tree | afd63e488b698537443f4370cf3db5f5d217ba84 /src/rt/rust_log.cpp | |
| parent | 603ad1748baa9f5e723bd930888e2adf5a768a4c (diff) | |
| download | rust-a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2.tar.gz rust-a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2.zip | |
Make darwin happy.
Diffstat (limited to 'src/rt/rust_log.cpp')
| -rw-r--r-- | src/rt/rust_log.cpp | 5 |
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); |
