raster pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=0d19a81c7f2e9b9b083d8a510cd3396aea3be27a

commit 0d19a81c7f2e9b9b083d8a510cd3396aea3be27a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Nov 16 12:52:47 2018 +0000

    warning fix - compare unsigned vs unsigned
    
    use Eina_Unicode so we compare the same type
---
 src/bin/termio.c  | 3 ++-
 src/bin/termpty.h | 3 ++-
 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;
 };
 

-- 


Reply via email to