Enlightenment CVS committal
Author : andyetitmoves
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/modules/loaders
Modified Files:
loader_id3.c
Log Message:
Removed some compiler warnings issued by gcc-4.0.1 on issues
of signedness in comparison.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/imlib2/src/modules/loaders/loader_id3.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- loader_id3.c 11 Aug 2005 18:00:40 -0000 1.4
+++ loader_id3.c 22 Aug 2005 09:55:18 -0000 1.5
@@ -286,7 +286,7 @@
{
union id3_field* field;
unsigned char const * data;
- long length;
+ id3_length_t length;
int done = 0;
field = id3_frame_field (frame, 4);
@@ -314,7 +314,7 @@
static char get_loader (lopt* opt, ImlibLoader** loader)
{
union id3_field* field;
- unsigned char const * data;
+ char const * data;
char ext[EXT_LEN + 2];
ext[EXT_LEN + 1] = '\0';
@@ -322,7 +322,7 @@
field = id3_frame_field (id3_tag_get_frame (opt->ctx->tag,
opt->index - 1), 1);
- data = id3_field_getlatin1 (field);
+ data = (char const*) id3_field_getlatin1 (field);
if (! data) {
fprintf (stderr, "No mime type data found for image frame\n");
return 0;
@@ -482,7 +482,7 @@
* Here's the code anyway...
*/
union id3_field* field;
- long length;
+ id3_length_t length;
char const* data;
char *url, *file, *ofile;
-------------------------------------------------------
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