Fix Mac build breakage.
Change-Id: Id25a77ccb7caa45c85d4654b47f566842efed1ed
diff --git a/lib/RenderScript/RSExecutable.cpp b/lib/RenderScript/RSExecutable.cpp
index aa6d411..f30600f 100644
--- a/lib/RenderScript/RSExecutable.cpp
+++ b/lib/RenderScript/RSExecutable.cpp
@@ -187,7 +187,7 @@
if (result != kDisassembleSuccess) {
ALOGW("Failed to disassemble the function %s in %s (error code=%zu)!",
- func_name, mObjFile->getName().c_str(), result);
+ func_name, mObjFile->getName().c_str(), static_cast<size_t>(result));
if (result != kDisassembleInvalidInstruction) {
ALOGW("And the error occured in disassembler is fatal. Abort "