Thanks to visit codestin.com Credit goes to github.com
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 ec057a4 commit 75c4747Copy full SHA for 75c4747
src/backend/utils/adt/network.c
@@ -1,7 +1,7 @@
1
/*
2
* PostgreSQL type definitions for the INET and CIDR types.
3
*
4
- * $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.61 2006/01/26 02:35:49 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.62 2006/01/26 18:08:10 tgl Exp $
5
6
* Jon Postel RIP 16 Oct 1998
7
*/
@@ -545,7 +545,7 @@ hashinet(PG_FUNCTION_ARGS)
545
int addrsize = ip_addrsize(addr);
546
547
/* XXX this assumes there are no pad bytes in the data structure */
548
- return hash_any(VARDATA(addr), addrsize + 2);
+ return hash_any((unsigned char *) VARDATA(addr), addrsize + 2);
549
}
550
551
0 commit comments