Revision: 110
Author: nyaochi
Date: 2006-07-02 06:08:55 -0700 (Sun, 02 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pmplib/?rev=110&view=rev
Log Message:
-----------
reduced warnings
Modified Paths:
--------------
trunk/frontend/easypmp/common/database.c
trunk/include/gmi.h
trunk/lib/gmi/gmi.c
Modified: trunk/frontend/easypmp/common/database.c
===================================================================
--- trunk/frontend/easypmp/common/database.c 2006-07-02 12:37:13 UTC (rev 109)
+++ trunk/frontend/easypmp/common/database.c 2006-07-02 13:08:55 UTC (rev 110)
@@ -50,8 +50,10 @@
return (uint32_t)time(NULL);
}
-static int comp_filename(const pmp_record_t *x, const pmp_record_t *y)
+static int comp_filename(const void *_x, const void *_y)
{
+ const pmp_record_t *x = (const pmp_record_t*)_x;
+ const pmp_record_t *y = (const pmp_record_t*)_y;
return COMP_STR(x->filename, y->filename);
}
Modified: trunk/include/gmi.h
===================================================================
--- trunk/include/gmi.h 2006-07-02 12:37:13 UTC (rev 109)
+++ trunk/include/gmi.h 2006-07-02 13:08:55 UTC (rev 110)
@@ -57,7 +57,7 @@
const ucs2char_t *filename,
const ucs2char_t* path_to_music,
int flag,
- const ucs2char_t** strip_words,
+ ucs2char_t **strip_words,
int num_strip_words
);
Modified: trunk/lib/gmi/gmi.c
===================================================================
--- trunk/lib/gmi/gmi.c 2006-07-02 12:37:13 UTC (rev 109)
+++ trunk/lib/gmi/gmi.c 2006-07-02 13:08:55 UTC (rev 110)
@@ -192,7 +192,7 @@
const ucs2char_t *filename,
const ucs2char_t* path_to_music,
int flag,
- const ucs2char_t* strip_words[],
+ ucs2char_t **strip_words,
int num_strip_words
)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|