diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-06-09 07:52:22 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-06-09 07:52:22 +0000 |
commit | 0a03e8911c53136dd3e17faf2e37aa895285a341 (patch) | |
tree | 933169c9192ca8f0a6d309cc57e0fd3f122c44b3 | |
parent | 1b8612389f0a39e0e5f05312c86733af6d39d091 (diff) | |
download | libgpod-0a03e8911c53136dd3e17faf2e37aa895285a341.tar.gz libgpod-0a03e8911c53136dd3e17faf2e37aa895285a341.tar.xz libgpod-0a03e8911c53136dd3e17faf2e37aa895285a341.zip |
* src/gchecksum.c: fix compilation (it's only compiled on system with
older glib versions)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2008 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-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" |