diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-21 18:33:18 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-21 18:33:18 +0000 |
commit | a774994572727d30cebcdc47d5686174ab2fc360 (patch) | |
tree | a1fa0ca0971ca667dafdc3be6a304f8fb982aaf4 /plugins | |
parent | 6413294daeb95761158aadf8edfa28fda30e29cc (diff) |
Added some casts to fix coverity 325.
svn path=/trunk/; revision=36228
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/mate_util.c | 4 |
1 files 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; |