Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : libs/epsilon
Dir : e17/libs/epsilon/src/lib
Modified Files:
Epsilon.c
Log Message:
shoulda committed these already
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/epsilon/src/lib/Epsilon.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Epsilon.c 20 Jul 2005 02:02:32 -0000 1.14
+++ Epsilon.c 6 Aug 2005 02:31:49 -0000 1.15
@@ -184,7 +184,7 @@
snprintf (uri, PATH_MAX, "file://%s", file);
MD5Init (&ctx);
- MD5Update (&ctx, uri, strlen (uri));
+ MD5Update (&ctx, (unsigned char const*)uri, (unsigned)strlen (uri));
MD5Final (hash, &ctx);
for (n = 0; n < MD5_HASHBYTES; n++)
@@ -408,13 +408,13 @@
int
epsilon_generate (Epsilon * e)
{
+ int len = 0;
int iw, ih;
int tw = THUMBNAIL_SIZE, th = THUMBNAIL_SIZE;
char outfile[PATH_MAX];
#ifdef HAVE_EPEG_H
Epeg_Image *im;
Epeg_Thumbnail_Info info;
- int len = 0;
#endif
if (!e || !e->src || !e->hash)
@@ -607,7 +607,7 @@
}
else
{
- if ((ret = png_check_sig (buf, bytes)))
+ if ((ret = png_check_sig ((png_bytep)buf, bytes)))
rewind (fp);
else
{
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs