about summary refs log tree commit diff
path: root/src/rt/rust_cc.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-09-22 09:17:26 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-09-22 09:17:26 +0200
commit5e3d0e304f0d60bcef3b83af6264d99aa9172130 (patch)
tree3ee0970182249a1518c8eaa474035bdac761a235 /src/rt/rust_cc.cpp
parent8c02adc630b9786dbc0ccd0f680d37c840bc49b9 (diff)
downloadrust-5e3d0e304f0d60bcef3b83af6264d99aa9172130.tar.gz
rust-5e3d0e304f0d60bcef3b83af6264d99aa9172130.zip
Fix missing cast in do_cc
Apparently not needed on Mac (clang?), but breaking the win and linux boxes.
Diffstat (limited to 'src/rt/rust_cc.cpp')
-rw-r--r--src/rt/rust_cc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_cc.cpp b/src/rt/rust_cc.cpp
index 84fb6e8456f..77965c3d7f9 100644
--- a/src/rt/rust_cc.cpp
+++ b/src/rt/rust_cc.cpp
@@ -417,7 +417,7 @@ sweep(rust_task *task, const std::set<void *> &marked) {
 
 void
 do_cc(rust_task *task) {
-    DPRINT("cc; n allocs = %lu\n", task->local_allocs.size());
+    DPRINT("cc; n allocs = %lu\n", (long unsigned int)task->local_allocs.size());
 
     irc_map ircs;
     irc::compute_ircs(task, ircs);