mirror of https://github.com/GNOME/gimp.git
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:
parent
1fdfd03576
commit
d000fc748d
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue