summaryrefslogtreecommitdiff
path: root/Embedded/common
diff options
context:
space:
mode:
authorMarcus Oakland <marcus.oakland@arm.com>2013-02-07 15:11:09 +0000
committerDavid Butcher <david.butcher@arm.com>2014-01-23 12:39:57 +0000
commit677f669a4e42e9f98cef158cedd2bb254ba6696e (patch)
treef57ad061db2dea83d70b65b2e770bdd55b4dd2f1 /Embedded/common
parenta800c667ea0839a5b28931270cd78385533e6c9d (diff)
downloadneven-677f669a4e42e9f98cef158cedd2bb254ba6696e.tar.gz
AArch64: Modified to support 64-bit systems
In the porting of Bitmap the "android/graphics/Bitmap" mNativeBitmap used by this module has changed type from jint to jlong. Change-Id: If1071e08f3d1182ccf218d4e0d3ab36cedaccdae Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'Embedded/common')
-rw-r--r--Embedded/common/src/b_BasicEm/Int16Arr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Embedded/common/src/b_BasicEm/Int16Arr.c b/Embedded/common/src/b_BasicEm/Int16Arr.c
index 1d4d0ce..3ada02d 100644
--- a/Embedded/common/src/b_BasicEm/Int16Arr.c
+++ b/Embedded/common/src/b_BasicEm/Int16Arr.c
@@ -19,6 +19,10 @@
#include "b_BasicEm/Functions.h"
#include "b_BasicEm/Int16Arr.h"
+#ifndef bbs_TYPES_64_AVAILABLE
+#include <stdint.h>
+#endif
+
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
@@ -181,7 +185,7 @@ void bbs_Int16Arr_createAligned( struct bbs_Context* cpA,
ptrA->arrPtrE++;
}
#else
- while( ( ( ( uint32 ) ptrA->arrPtrE ) & ( alignBytesA - 1 ) ) )
+ while( ( ( ( uintptr_t ) ptrA->arrPtrE ) & ( alignBytesA - 1 ) ) )
{
ptrA->arrPtrE++;
}