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

Unified Diff: sandbox/linux/suid/process_util_linux.c

Issue 10353020: Fix Mario (32-bit) build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/suid/process_util_linux.c
diff --git a/sandbox/linux/suid/process_util_linux.c b/sandbox/linux/suid/process_util_linux.c
index 1829558fd23563d95f9799e423f3f36f227815ea..5e6b33b60f914ff13ff98aa4df3e1bf9d427d3a0 100644
--- a/sandbox/linux/suid/process_util_linux.c
+++ b/sandbox/linux/suid/process_util_linux.c
@@ -94,7 +94,7 @@ bool AdjustLowMemoryMargin(int64_t margin_mb) {
case 50L:
case 100L:
case 200L:
- snprintf(value, sizeof(value), "%zu", margin_mb);
+ snprintf(value, sizeof(value), "%lld", (long long int)margin_mb);
break;
default:
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698