X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b3347e2a03094b4a97f5015fee3875e18b5c4a83..92d021488ec06524f7ed6a527c39f2753f4a9fd2:/hashtable.c diff --git a/hashtable.c b/hashtable.c index b760003d..219210de 100644 --- a/hashtable.c +++ b/hashtable.c @@ -1,7 +1,7 @@ /* * Routines to provide a memory-efficient hashtable. * - * Copyright (C) 2007-2008 Wayne Davison + * Copyright (C) 2007-2009 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -106,7 +106,7 @@ void *hashtable_find(struct hashtable *tbl, int64 key, int allocate_if_missing) uchar buf[4], *keyp = buf; int i; - SIVAL(buf, 0, key); + SIVALu(buf, 0, key); for (ndx = 0, i = 0; i < 4; i++) { ndx += keyp[i]; ndx += (ndx << 10);