From addce88ee84c27a928e767153336e16e4bd98d04 Mon Sep 17 00:00:00 2001 From: stig Date: Mon, 21 Mar 2011 18:33:18 +0000 Subject: [PATCH] Added some casts to fix coverity 325. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36228 f5534014-38df-0310-8fa8-9805f1628bb7 --- plugins/mate/mate_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c index f672c48eab..59c4ee8667 100644 --- a/plugins/mate/mate_util.c +++ b/plugins/mate/mate_util.c @@ -1698,7 +1698,7 @@ extern LoAL* loal_from_file(gchar* filename) { name[0] = '\0'; switch (c) { case '\\': - c = fgetc(fp); + c = (gchar) fgetc(fp); if (c != '\n') ungetc(c,fp); continue; case ' ': @@ -1751,7 +1751,7 @@ extern LoAL* loal_from_file(gchar* filename) { case IN_VALUE: switch (c) { case '\\': - value[i++] = fgetc(fp); + value[i++] = (gchar) fgetc(fp); continue; case ';': state = BEFORE_NAME; -- 2.34.1