From 4c2aa4c223963d4f5cbb3605974fbc11ca2a7a6e Mon Sep 17 00:00:00 2001 From: Rom Lemarchand Date: Thu, 21 Nov 2013 10:24:52 -0800 Subject: HAL test: statically test the size of HAL structs Ensure none of the HAL structs change size over time. Issues might arise when making changes without taking the different pointer sizes for specific architectures into account. Change-Id: I63f00004a23f09b2f46df01e7c69296766a5d03f --- include/hardware/hwcomposer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hardware/hwcomposer.h') diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h index 86479d3..82e7671 100644 --- a/include/hardware/hwcomposer.h +++ b/include/hardware/hwcomposer.h @@ -262,7 +262,7 @@ typedef struct hwc_layer_1 { }; /* Allow for expansion w/o breaking binary compatibility. - * Pad layer to 96 bytes, assuming 32-bit pointers. + * Pad layer to 96 bytes. */ int32_t reserved[24 - 19]; -- cgit v1.1