Revision: 90
Author: sucknblow
Date: 2006-07-01 18:28:09 -0700 (Sat, 01 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pmplib/?rev=90&view=rev
Log Message:
-----------
Oops. Repeat commit 78 (warnings--) from the proper directory.
Modified Paths:
--------------
trunk/lib/pmp_irivnavi/irivnavi.c
Modified: trunk/lib/pmp_irivnavi/irivnavi.c
===================================================================
--- trunk/lib/pmp_irivnavi/irivnavi.c 2006-07-02 01:28:00 UTC (rev 89)
+++ trunk/lib/pmp_irivnavi/irivnavi.c 2006-07-02 01:28:09 UTC (rev 90)
@@ -24,6 +24,9 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif/*HAVE_CONFIG_H*/
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif/*HAVE_STRING_H*/
#include <os.h>
#include <stdio.h>
@@ -127,9 +130,9 @@
void irivnavi_init(irivnavi_t* db)
{
memset(db, 0, sizeof(*db));
- strcpy(db->header0, "iRivDB Ver 0.12");
- strcpy(db->header1, "iRiver iHP-100 DB File");
- strcpy(db->footer, "Designed by iRiver");
+ strcpy((char *)db->header0, "iRivDB Ver 0.12");
+ strcpy((char *)db->header1, "iRiver iHP-100 DB File");
+ strcpy((char *)db->footer, "Designed by iRiver");
}
void irivnavi_finish(irivnavi_t* db)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|