diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gchecksum.c | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2008-06-09 Christophe Fergeau <christophe@anevia.com> + * src/gchecksum.c: fix compilation (it's only compiled on system with + older glib versions) + +2008-06-09 Christophe Fergeau <christophe@anevia.com> + * src/db-artwork-writer.c: * src/itdb_artwork.c: * src/itdb_thumb.c: diff --git a/src/gchecksum.c b/src/gchecksum.c index ded85ca..cbd7de1 100644 --- a/src/gchecksum.c +++ b/src/gchecksum.c @@ -25,9 +25,6 @@ #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) @@ -1204,7 +1201,7 @@ g_checksum_update (GChecksum *checksum, g_return_if_fail (data != NULL); if (length < 0) - length = strlen (data); + length = strlen ((gchar *)data); if (checksum->digest_str) { @@ -1412,6 +1409,3 @@ g_compute_checksum_for_string (GChecksumType checksum_type, return g_compute_checksum_for_data (checksum_type, (const guchar *) str, length); } - -#define __G_CHECKSUM_C__ -#include "galiasdef.c" |