From cee114a82feb572eef65a2c4d2c5dde050613c5c Mon Sep 17 00:00:00 2001 From: Mariusz Zaborski Date: Thu, 21 Mar 2019 06:20:33 +0000 Subject: [PATCH] Fix powerpc and arm builds after r345361. Reported by: jenkins --- contrib/elftoolchain/strings/strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/elftoolchain/strings/strings.c b/contrib/elftoolchain/strings/strings.c index 886c8b48336a..b4121051676c 100644 --- a/contrib/elftoolchain/strings/strings.c +++ b/contrib/elftoolchain/strings/strings.c @@ -295,8 +295,8 @@ long getcharacter(FILE *pfile) { long rt; - int i; - char buf[4], c; + int i, c; + char buf[4]; for(i = 0; i < encoding_size; i++) { c = getc(pfile);