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
This commit is contained in:
Michael Natterer 2008-04-21 15:39:32 +00:00 committed by Michael Natterer
parent 1fdfd03576
commit d000fc748d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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> 2008-04-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve-bend.c (run): fixed handling of * plug-ins/common/curve-bend.c (run): fixed handling of

View File

@ -37,7 +37,7 @@ gimp_md5_get_digest (const gchar *buffer,
checksum = g_checksum_new (G_CHECKSUM_MD5); checksum = g_checksum_new (G_CHECKSUM_MD5);
g_checksum_update (checksum, buffer, buffer_size); g_checksum_update (checksum, (const guchar *) buffer, buffer_size);
g_checksum_get_digest (checksum, (const guchar *) digest, &len); g_checksum_get_digest (checksum, digest, &len);
g_checksum_free (checksum); g_checksum_free (checksum);
} }