summaryrefslogtreecommitdiff
path: root/src/bin/tyls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-02-26 23:46:41 +0100
committerBoris Faure <billiob@gmail.com>2015-02-26 23:47:28 +0100
commit6c2e2dfbf513fa32ab2ebdb6ba423efeec27181f (patch)
tree949167194684f18e0620d4656e7585a8fe97d0b1 /src/bin/tyls.c
parent85edd0407c0359871ee6bb855fc206a9c3f4ad74 (diff)
tyls: fix warnings
size comparison unused variable
Diffstat (limited to 'src/bin/tyls.c')
-rw-r--r--src/bin/tyls.c4
1 files 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)
51 51
52 while (prefixes[i]) 52 while (prefixes[i])
53 { 53 {
54 if (size < (1024LL << 10 * i) || !prefixes[i]) 54 if (size < (1024ULL << 10 * i) || !prefixes[i])
55 { 55 {
56 snprintf(buf, bufsz, "%4lld", size / (1024 << 10 * (i - 1))); 56 snprintf(buf, bufsz, "%4lld", size / (1024 << 10 * (i - 1)));
57 *sz = prefixes[i]; 57 *sz = prefixes[i];
@@ -729,7 +729,7 @@ main(int argc, char **argv)
729{ 729{
730 char buf[64]; 730 char buf[64];
731 char *path; 731 char *path;
732 Eina_List *dirs = NULL, *l; 732 Eina_List *dirs = NULL;
733 Tyls_Options options = {SMALL, EINA_FALSE}; 733 Tyls_Options options = {SMALL, EINA_FALSE};
734 734
735 if (!getenv("TERMINOLOGY")) return 0; 735 if (!getenv("TERMINOLOGY")) return 0;