From d0276e18f327503f8cb9d6b942f25a87d144e60f Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 11 Dec 2014 10:23:01 -0800 Subject: * sysdeps/mips/dl-trampoline.c: Modify switch expression to have integer value instead of boolean. --- sysdeps/mips/dl-trampoline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/mips') diff --git a/sysdeps/mips/dl-trampoline.c b/sysdeps/mips/dl-trampoline.c index f565654..66a1ea1 100644 --- a/sysdeps/mips/dl-trampoline.c +++ b/sysdeps/mips/dl-trampoline.c @@ -139,7 +139,7 @@ __dl_runtime_resolve (ElfW(Word) sym_index, /* FIXME: The symbol versioning stuff is not tested yet. */ if (__builtin_expect (ELFW(ST_VISIBILITY) (sym->st_other), 0) == 0) { - switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL) + switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL ? 1 : 0) { default: { -- cgit v1.1