remove warnings from edje binaries.

SVN revision: 46647
This commit is contained in:
Gustavo Sverzut Barbieri 2010-02-28 16:14:50 +00:00
parent fcb71a4b3b
commit cc5e332525
2 changed files with 5 additions and 2 deletions

View File

@ -806,6 +806,7 @@ is_num(int n)
{
char *str;
char *end;
long val;
str = eina_list_nth(params, n);
if (!str)
@ -816,7 +817,7 @@ is_num(int n)
}
if (str[0] == 0) return 0;
end = str;
strtol(str, &end, 0);
val = strtol(str, &end, 0);
if ((end != str) && (end[0] == 0)) return 1;
return 0;
}

View File

@ -14,6 +14,7 @@
#include <locale.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <Ecore_File.h>
@ -305,7 +306,8 @@ output(void)
exit (-1);
}
f = fopen(out, "wb");
fwrite(font, fontsize, 1, f);
if (fwrite(font, fontsize, 1, f) != 1)
ERR("Could not write font: %s", strerror(errno));
fclose(f);
free(font);
}