Browse files

Fix Mario (32-bit) build.

Was using "%zu".  Worked on 64-bit, not on 32-bit.  Now casting to
(long long int) so I can use "%lld" on both platforms.
TEST=built chrome_sandbox

Review URL:

git-svn-id: svn:// 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information...
1 parent eaee61e commit 6953cd1b898d9456bda3d6381c9378be91649d1c committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
return false;

0 comments on commit 6953cd1

Please sign in to comment.