billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=6c2e2dfbf513fa32ab2ebdb6ba423efeec27181f

commit 6c2e2dfbf513fa32ab2ebdb6ba423efeec27181f
Author: Boris Faure <bill...@gmail.com>
Date:   Thu Feb 26 23:46:41 2015 +0100

    tyls: fix warnings
    
    size comparison
    unused variable
---
 src/bin/tyls.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index 048ca7d..84761da 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -51,7 +51,7 @@ size_print(char *buf, int bufsz, char *sz, unsigned long long 
size)
 
    while (prefixes[i])
      {
-        if (size < (1024LL << 10 * i) || !prefixes[i])
+        if (size < (1024ULL << 10 * i) || !prefixes[i])
           {
              snprintf(buf, bufsz, "%4lld", size / (1024 << 10 * (i - 1)));
              *sz = prefixes[i];
@@ -729,7 +729,7 @@ main(int argc, char **argv)
 {
    char buf[64];
    char *path;
-   Eina_List *dirs = NULL, *l;
+   Eina_List *dirs = NULL;
    Tyls_Options options = {SMALL, EINA_FALSE};
    
    if (!getenv("TERMINOLOGY")) return 0;

-- 


Reply via email to