Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: runtime/vm/allocation.cc

Issue 10869063: Add attributions so printf like functions can have their arguments checked. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/platform/json.h ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/allocation.cc
diff --git a/runtime/vm/allocation.cc b/runtime/vm/allocation.cc
index e0779042701650b34b1d6bd52bf41462931eeb0b..0e97ed07b0dfe50aed16ab4ca1ca7f710a887cf8 100644
--- a/runtime/vm/allocation.cc
+++ b/runtime/vm/allocation.cc
@@ -19,7 +19,7 @@ void* ZoneAllocated::operator new(uword size) {
ASSERT(isolate != NULL);
ASSERT(isolate->current_zone() != NULL);
if (size > static_cast<uword>(kIntptrMax)) {
- FATAL1("ZoneAllocated object has unexpectedly large size %uld", size);
+ FATAL1("ZoneAllocated object has unexpectedly large size %"Pu"", size);
}
return reinterpret_cast<void*>(isolate->current_zone()->AllocUnsafe(size));
}
« no previous file with comments | « runtime/platform/json.h ('k') | runtime/vm/assembler_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698