Skip to content

Commit 2a17af0

Browse files
committed
---
yaml --- r: 3041 b: refs/heads/master c: a1bc2b1 h: refs/heads/master i: 3039: f534350 v: v3
1 parent ff106b2 commit 2a17af0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 603ad1748baa9f5e723bd930888e2adf5a768a4c
2+
refs/heads/master: a1bc2b17cc3cc8fcbcaff8bc7b552c93752af2b2

trunk/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)