summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-12-06 16:47:32 -0800
committerStephen Hines <srhines@google.com>2011-12-06 16:47:32 -0800
commit4d322043ab695583a6741924b60c934fd9dc7e3e (patch)
tree39ec43e6234bad98a0e446ecf8be6d43b859a08c
parent7da48db9c5c071cfc1c54a3709a02c1300dccd76 (diff)
downloadframeworks_base-4d322043ab695583a6741924b60c934fd9dc7e3e.zip
frameworks_base-4d322043ab695583a6741924b60c934fd9dc7e3e.tar.gz
frameworks_base-4d322043ab695583a6741924b60c934fd9dc7e3e.tar.bz2
NULL should not be const for RS.
Change-Id: I24d96843c40f822bf064a0fa1fc0440b6bf0518d
-rw-r--r--libs/rs/scriptc/rs_types.rsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/scriptc/rs_types.rsh b/libs/rs/scriptc/rs_types.rsh
index e9c3c5e..84bca9c 100644
--- a/libs/rs/scriptc/rs_types.rsh
+++ b/libs/rs/scriptc/rs_types.rsh
@@ -364,7 +364,7 @@ typedef struct {
typedef float4 rs_quaternion;
#define RS_PACKED __attribute__((packed, aligned(4)))
-#define NULL ((const void *)0)
+#define NULL ((void *)0)
#if (defined(RS_VERSION) && (RS_VERSION >= 14))