aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-16 12:52:47 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-16 12:55:30 +0000
commit0d19a81c7f2e9b9b083d8a510cd3396aea3be27a (patch)
treedf66ef9ccfb5ad2e6d2413d2abb9ae83ffdc65e3
parentcheck if buffer size is too small strunc was truncated (diff)
downloadterminology-0d19a81c7f2e9b9b083d8a510cd3396aea3be27a.tar.gz
warning fix - compare unsigned vs unsigned
use Eina_Unicode so we compare the same type
-rw-r--r--src/bin/termio.c3
-rw-r--r--src/bin/termpty.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 6fbd33d..f24a0fa 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -5066,7 +5066,8 @@ _smart_apply(Evas_Object *obj)
}
else
{
- int fg, bg, fgext, bgext, codepoint, bold, italic;
+ int fg, bg, fgext, bgext, bold, italic;
+ Eina_Unicode codepoint;
// colors
fg = cells[x].att.fg;
diff --git a/src/bin/termpty.h b/src/bin/termpty.h
index 5f54997..eb9256a 100644
--- a/src/bin/termpty.h
+++ b/src/bin/termpty.h
@@ -248,7 +248,8 @@ struct _Termblock
struct _Termexp
{
- int ch, left, id;
+ Eina_Unicode ch;
+ int left, id;
int x, y, w, h;
};