tyls: fix warnings

size comparison
unused variable
This commit is contained in:
Boris Faure 2015-02-26 23:46:41 +01:00
parent 85edd0407c
commit 6c2e2dfbf5
1 changed files with 2 additions and 2 deletions

View File

@ -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;