From 934f0fbbcb9fb32171bd44dd462281039be2e880 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 12 Dec 2013 19:43:01 -0800 Subject: [PATCH] obj_int_extract: fix compile warning string literals should be returned as const char* Change-Id: Iaab98711ed22f9c6eff1ca922c0576a1ff93a58f --- build/make/obj_int_extract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make/obj_int_extract.c b/build/make/obj_int_extract.c index feed9d983..495e9d7fa 100644 --- a/build/make/obj_int_extract.c +++ b/build/make/obj_int_extract.c @@ -321,7 +321,7 @@ bail: 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; -- 2.40.0