Work-around 64bit build issues.
Log errors and abort as a temporary work-around for 64bit support.
Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
diff --git a/rsFileA3D.cpp b/rsFileA3D.cpp
index 3b963fe..a589033 100644
--- a/rsFileA3D.cpp
+++ b/rsFileA3D.cpp
@@ -26,6 +26,8 @@
#include <androidfw/Asset.h>
#endif
+#include <inttypes.h>
+
using namespace android;
using namespace android::renderscript;
@@ -192,7 +194,7 @@
return false;
}
- ALOGV("file open size = %lli", mDataSize);
+ ALOGV("file open size = %" PRIi64, mDataSize);
// We should know enough to read the file in at this point.
mAlloc = malloc(mDataSize);