From de7f1ad86f532e79ea2a9f77b0147406a9ad971b Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Thu, 26 Jul 2012 14:09:13 -0400 Subject: [PATCH] Fixed a discarded const qualifier warning Change-Id: I9007924d0bf49705363aa130e6e588a9e0ccdc31 Author: Edwin Vane Reviewed-by: Tareq A Siraj --- init/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/util.c b/init/util.c index 7d79f3989..77e3c61ac 100755 --- a/init/util.c +++ b/init/util.c @@ -47,7 +47,7 @@ */ static unsigned int android_name_to_id(const char *name) { - struct android_id_info *info = android_ids; + const struct android_id_info *info = android_ids; unsigned int n; for (n = 0; n < android_id_count; n++) {