diff options
author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 07:52:22 +0000 |
---|---|---|
committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 07:52:22 +0000 |
commit | 55a3a23ffca6d6228e83ad69cbfbfca765023c41 (patch) | |
tree | 933169c9192ca8f0a6d309cc57e0fd3f122c44b3 | |
parent | 93c0d7510f084646e93071a9f5bae1a2b9cb7ed7 (diff) | |
download | libgpod-55a3a23ffca6d6228e83ad69cbfbfca765023c41.tar.gz libgpod-55a3a23ffca6d6228e83ad69cbfbfca765023c41.tar.xz libgpod-55a3a23ffca6d6228e83ad69cbfbfca765023c41.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" |