Skip to content

Commit a1bc2b1

Browse files
committed
Make darwin happy.
1 parent 603ad17 commit a1bc2b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/rt/rust_log.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,9 @@ void update_log_settings(void* crate_map, char* settings) {
269269
n_dirs, &n_matches);
270270

271271
if (n_matches < n_dirs) {
272-
printf("warning: got %u RUST_LOG specs, enabled %u flags.",
273-
n_dirs, n_matches);
272+
printf("warning: got %" PRIdPTR " RUST_LOG specs, "
273+
"enabled %" PRIdPTR " flags.",
274+
(uintptr_t)n_dirs, (uintptr_t)n_matches);
274275
}
275276

276277
free(buffer);

0 commit comments

Comments
 (0)