Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72f37b
)
Explicitly cast an int64 to an int32.
author
Wayne Davison
<wayned@samba.org>
Tue, 22 Jul 2008 06:11:23 +0000
(23:11 -0700)
committer
Wayne Davison
<wayned@samba.org>
Tue, 22 Jul 2008 06:11:23 +0000
(23:11 -0700)
hashtable.c
patch
|
blob
|
blame
|
history
diff --git
a/hashtable.c
b/hashtable.c
index
7da907c
..
1775a0b
100644
(file)
--- a/
hashtable.c
+++ b/
hashtable.c
@@
-142,7
+142,7
@@
void *hashtable_find(struct hashtable *tbl, int64 key, int allocate_if_missing)
if (key64)
((struct ht_int64_node*)node)->key = key;
else
- node->key = key;
+ node->key =
(int32)
key;
tbl->entries++;
return node;
}