Revision: 2008
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2008&view=rev
Author:   teuf
Date:     2008-06-09 00:52:22 -0700 (Mon, 09 Jun 2008)

Log Message:
-----------
* src/gchecksum.c: fix compilation (it's only compiled on system with
older glib versions)

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/gchecksum.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2008-06-09 07:51:27 UTC (rev 2007)
+++ libgpod/trunk/ChangeLog     2008-06-09 07:52:22 UTC (rev 2008)
@@ -1,5 +1,10 @@
 2008-06-09  Christophe Fergeau  <[EMAIL PROTECTED]>
 
+       * src/gchecksum.c: fix compilation (it's only compiled on system with
+       older glib versions)
+
+2008-06-09  Christophe Fergeau  <[EMAIL PROTECTED]>
+
        * src/db-artwork-writer.c:
        * src/itdb_artwork.c:
        * src/itdb_thumb.c:

Modified: libgpod/trunk/src/gchecksum.c
===================================================================
--- libgpod/trunk/src/gchecksum.c       2008-06-09 07:51:27 UTC (rev 2007)
+++ libgpod/trunk/src/gchecksum.c       2008-06-09 07:52:22 UTC (rev 2008)
@@ -25,10 +25,7 @@
 #include "glibconfig.h"
 #include "gchecksum.h"
 #include "glib.h"
-#include "glibintl.h"
 
-#include "galias.h"
-
 #define IS_VALID_TYPE(type)     ((type) >= G_CHECKSUM_MD5 && (type) <= 
G_CHECKSUM_SHA256)
 
 static const gchar hex_digits[] = "0123456789abcdef";
@@ -1204,7 +1201,7 @@
   g_return_if_fail (data != NULL);
 
   if (length < 0)
-    length = strlen (data);
+    length = strlen ((gchar *)data);
 
   if (checksum->digest_str)
     {
@@ -1412,6 +1409,3 @@
 
   return g_compute_checksum_for_data (checksum_type, (const guchar *) str, 
length);
 }
-
-#define __G_CHECKSUM_C__
-#include "galiasdef.c"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to