summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-03-06 18:24:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-06 18:24:48 +0000
commitb342abb6902a698963bb9d2108000da895845985 (patch)
tree53783739d7e579a778680e7b551c57f5925d05d7
parentb96f1083b8d10f3e33b64f0da943dedfdb25b557 (diff)
parentf5811ba2dfb9bc9abf754b2e87b1568ef5ee3356 (diff)
downloadlibhardware-b342abb6902a698963bb9d2108000da895845985.tar.gz
Merge "gralloc: make private_handle_t layout consistent on 32/64-bit"
-rw-r--r--modules/gralloc/gralloc_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h
index 22a57153..2cd10072 100644
--- a/modules/gralloc/gralloc_priv.h
+++ b/modules/gralloc/gralloc_priv.h
@@ -75,7 +75,7 @@ struct private_handle_t {
int offset;
// FIXME: the attributes below should be out-of-line
- uintptr_t base;
+ uint64_t base __attribute__((aligned(8)));
int pid;
#ifdef __cplusplus