ref: 934f0fbbcb9fb32171bd44dd462281039be2e880
parent: c2634188ceb2c0ce9256569004f985a5e7e76666
author: James Zern <jzern@google.com>
date: Thu Dec 12 14:43:01 EST 2013
obj_int_extract: fix compile warning string literals should be returned as const char* Change-Id: Iaab98711ed22f9c6eff1ca922c0576a1ff93a58f
--- a/build/make/obj_int_extract.c
+++ b/build/make/obj_int_extract.c
@@ -321,7 +321,7 @@
return 1;
}
-char *parse_elf_string_table(elf_obj_t *elf, int s_idx, int idx) {
+const char *parse_elf_string_table(elf_obj_t *elf, int s_idx, int idx) {
if (elf->bits == 32) {
Elf32_Shdr shdr;
--
⑨