Author: zoltan
Date: 2005-04-20 10:25:36 -0400 (Wed, 20 Apr 2005)
New Revision: 43339
Modified:
trunk/mono/mono/utils/ChangeLog
trunk/mono/mono/utils/mono-digest.h
trunk/mono/mono/utils/mono-md5.c
trunk/mono/mono/utils/mono-sha1.c
Log:
2005-04-20 Zoltan Varga <[EMAIL PROTECTED]>
* mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
Modified: trunk/mono/mono/utils/ChangeLog
===================================================================
--- trunk/mono/mono/utils/ChangeLog 2005-04-20 14:25:17 UTC (rev 43338)
+++ trunk/mono/mono/utils/ChangeLog 2005-04-20 14:25:36 UTC (rev 43339)
@@ -1,3 +1,7 @@
+2005-04-20 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
+
2005-04-08 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* mono-poll.c: windows return code translation.
Modified: trunk/mono/mono/utils/mono-digest.h
===================================================================
--- trunk/mono/mono/utils/mono-digest.h 2005-04-20 14:25:17 UTC (rev 43338)
+++ trunk/mono/mono/utils/mono-digest.h 2005-04-20 14:25:36 UTC (rev 43339)
@@ -35,7 +35,7 @@
gint doByteReverse;
} MonoMD5Context;
-void mono_md5_get_digest (const gchar *buffer, gint buffer_size, guchar
digest[16]);
+void mono_md5_get_digest (const guchar *buffer, gint buffer_size, guchar
digest[16]);
/* use this one when speed is needed */
/* for use in provider code only */
@@ -52,7 +52,7 @@
unsigned char buffer[64];
} MonoSHA1Context;
-void mono_sha1_get_digest (const gchar *buffer, gint buffer_size, guchar
digest [20]);
+void mono_sha1_get_digest (const guchar *buffer, gint buffer_size, guchar
digest [20]);
void mono_sha1_get_digest_from_file (const gchar *filename, guchar digest
[20]);
void mono_sha1_init (MonoSHA1Context* context);
Modified: trunk/mono/mono/utils/mono-md5.c
===================================================================
--- trunk/mono/mono/utils/mono-md5.c 2005-04-20 14:25:17 UTC (rev 43338)
+++ trunk/mono/mono/utils/mono-md5.c 2005-04-20 14:25:36 UTC (rev 43339)
@@ -308,7 +308,7 @@
* the 16 bytes buffer @digest .
**/
void
-mono_md5_get_digest (const gchar *buffer, gint buffer_size, guchar digest[16])
+mono_md5_get_digest (const guchar *buffer, gint buffer_size, guchar digest[16])
{
MonoMD5Context ctx;
Modified: trunk/mono/mono/utils/mono-sha1.c
===================================================================
--- trunk/mono/mono/utils/mono-sha1.c 2005-04-20 14:25:17 UTC (rev 43338)
+++ trunk/mono/mono/utils/mono-sha1.c 2005-04-20 14:25:36 UTC (rev 43339)
@@ -246,7 +246,7 @@
}
void
-mono_sha1_get_digest (const gchar *buffer, gint buffer_size, guchar digest
[20])
+mono_sha1_get_digest (const guchar *buffer, gint buffer_size, guchar digest
[20])
{
MonoSHA1Context ctx;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches