aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/gralloc_handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h
index 7cbc8ee7..5d8a19ea 100644
--- a/android/gralloc_handle.h
+++ b/android/gralloc_handle.h
@@ -51,7 +51,7 @@ struct gralloc_handle_t {
51 int prime_fd; 51 int prime_fd;
52 52
53 /* api variables */ 53 /* api variables */
54 int magic; /* differentiate between allocator impls */ 54 const int magic; /* differentiate between allocator impls */
55 const uint32_t version; /* api version */ 55 const uint32_t version; /* api version */
56 56
57 int width; /* width of buffer in pixels */ 57 int width; /* width of buffer in pixels */