gimp r25504 - in trunk: . libgimpmath



Author: mitch
Date: Mon Apr 21 15:39:32 2008
New Revision: 25504
URL: http://svn.gnome.org/viewvc/gimp?rev=25504&view=rev

Log:
2008-04-21  Michael Natterer  <mitch gimp org>

	* libgimpmath/gimpmd5.c (gimp_md5_get_digest): moving a cast to
	the right parameter fixes two warnings.



Modified:
   trunk/ChangeLog
   trunk/libgimpmath/gimpmd5.c

Modified: trunk/libgimpmath/gimpmd5.c
==============================================================================
--- trunk/libgimpmath/gimpmd5.c	(original)
+++ trunk/libgimpmath/gimpmd5.c	Mon Apr 21 15:39:32 2008
@@ -37,7 +37,7 @@
 
   checksum = g_checksum_new (G_CHECKSUM_MD5);
 
-  g_checksum_update (checksum, buffer, buffer_size);
-  g_checksum_get_digest (checksum, (const guchar *) digest, &len);
+  g_checksum_update (checksum, (const guchar *) buffer, buffer_size);
+  g_checksum_get_digest (checksum, digest, &len);
   g_checksum_free (checksum);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]