From: James Zern Date: Fri, 13 Dec 2013 03:43:01 +0000 (-0800) Subject: obj_int_extract: fix compile warning X-Git-Tag: v1.4.0~2841^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=934f0fbbcb9fb32171bd44dd462281039be2e880;p=libvpx obj_int_extract: fix compile warning string literals should be returned as const char* Change-Id: Iaab98711ed22f9c6eff1ca922c0576a1ff93a58f --- 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;