[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix build warning in VC++

From: <Chris.Foote_at_xtra.co.nz>
Date: 2003-01-21 00:16:12 CET

This patch gets rid of a build warning in VC++.

Log:
* subversion/include/svn_md5.h, subversion/libsvn_subr/md5.c:
  (svn_md5_empty_string_digest): Change to unsigned char to be consistent
  with other digests.

Index: subversion/include/svn_md5.h
===================================================================
--- subversion/include/svn_md5.h (revision 4475)
+++ subversion/include/svn_md5.h (working copy)
@@ -27,7 +27,7 @@
 

 /** The MD5 digest for the empty string. */
-extern const char svn_md5_empty_string_digest[];
+extern const unsigned char svn_md5_empty_string_digest[];

 /** Return the hex representation of @a digest, which must be
Index: subversion/libsvn_subr/md5.c
===================================================================
--- subversion/libsvn_subr/md5.c (revision 4475)
+++ subversion/libsvn_subr/md5.c (working copy)
@@ -22,7 +22,7 @@
 

 /* The MD5 digest for the empty string. */
-const char svn_md5_empty_string_digest[] = {
+const unsigned char svn_md5_empty_string_digest[] = {
   212, 29, 140, 217, 143, 0, 178, 4, 233, 128, 9, 152, 236, 248, 66, 126
 };

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:03:23 2006

This is an archived mail posted to the Subversion Dev mailing list.