10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1cdcff commit 1d3166dCopy full SHA for 1d3166d
src/backend/access/hash/hashfunc.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.15 1999/03/14 16:25:07 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.16 1999/03/14 16:27:59 momjian Exp $
11
12
* NOTES
13
* These functions are stored in pg_amproc. For each operator class
@@ -19,6 +19,7 @@
19
#include "postgres.h"
20
21
#include "access/hash.h"
22
+#include "utils/int8.h"
23
24
uint32
25
hashint2(int16 key)
@@ -35,7 +36,7 @@ hashint4(uint32 key)
35
36
37
hashint8(int64 *key)
38
{
- return ~((uint32)key);
39
+ return ~((uint32)*key);
40
}
41
42
/* Hash function from Chris Torek. */
0 commit comments