Author: gbg
Date: Thu Sep 26 16:29:06 2013
New Revision: 1526594
URL: http://svn.apache.org/r1526594
Log:
Modify signed constant FNV1_BASE_32 to unsigned to suppress compiler
warning: subversion/libsvn_subr/file.c: In function
'calc_hash':subversion/libsvn_subr/file.c:149:3: warning: this decimal
constant is unsigned only in ISO C90 [enabled by default]
* subversion/libsvn_subr/file.c
(FNV1_BASE_32): Modify signed constant FNV1_BASE_32 to unsigned
constant.
Approved by: philip
Modified:
subversion/trunk/subversion/libsvn_subr/file.c
Modified: subversion/trunk/subversion/libsvn_subr/file.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/file.c?rev=1526594&r1=1526593&r2=1526594&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/file.c (original)
+++ subversion/trunk/subversion/libsvn_subr/file.c Thu Sep 26 16:29:06 2013
@@ -137,7 +137,7 @@ get_handle_pool(void)
}
#define FNV1_PRIME_32 0x01000193
-#define FNV1_BASE_32 2166136261
+#define FNV1_BASE_32 2166136261u
/* FNV-1a core implementation returning a 32 bit checksum over the first
* LEN bytes in INPUT. HASH is the checksum over preceding data (if any).