Commit d000fc74 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

moving a cast to the right parameter fixes two warnings.

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.


svn path=/trunk/; revision=25504
parent 1fdfd035
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.
2008-04-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve-bend.c (run): fixed handling of
......
......@@ -37,7 +37,7 @@ gimp_md5_get_digest (const gchar *buffer,
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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment