subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1568241 - /subversion/trunk/subversion/libsvn_subr/fnv1a.c
Date Fri, 14 Feb 2014 11:24:34 GMT
Author: danielsh
Date: Fri Feb 14 11:24:34 2014
New Revision: 1568241

URL: http://svn.apache.org/r1568241
Log:
* subversion/libsvn_subr/fnv1a.c
  (FNV1_BASE_32): Make the literal explicitly unsigned, to address a gcc
    warning that non-C90 compilers might not consider it unsigned.

Modified:
    subversion/trunk/subversion/libsvn_subr/fnv1a.c

Modified: subversion/trunk/subversion/libsvn_subr/fnv1a.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/fnv1a.c?rev=1568241&r1=1568240&r2=1568241&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/fnv1a.c (original)
+++ subversion/trunk/subversion/libsvn_subr/fnv1a.c Fri Feb 14 11:24:34 2014
@@ -37,7 +37,7 @@
  * http://www.isthe.com/chongo/tech/comp/fnv/ 
  */
 #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).



Mime
View raw message