Fix samples for 64-bit ABIs
1. Set APP_ABI:=all in almost all samples 2. Enhance hello-jni to report more ABIs 3. Fix warnings Change-Id: I2851c42b77ef8225e32143d225edcf973633e782
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
# The ARMv7 is significanly faster due to the use of the hardware FPU
|
||||
APP_ABI := armeabi armeabi-v7a
|
||||
APP_ABI := all
|
||||
APP_PLATFORM := android-8
|
||||
|
||||
@@ -215,7 +215,7 @@ static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t )
|
||||
uint16_t* line_end = line + info->width;
|
||||
|
||||
if (line < line_end) {
|
||||
if (((uint32_t)line & 3) != 0) {
|
||||
if (((uint32_t)(uintptr_t)line & 3) != 0) {
|
||||
Fixed ii = base + fixed_sin(xt1) + fixed_sin(xt2);
|
||||
|
||||
xt1 += XT1_INCR;
|
||||
|
||||
Reference in New Issue
Block a user