Commit 75c47471 authored by Tom Lane's avatar Tom Lane

Suppress signed-vs-unsigned-char warning.

parent ec057a43
/* /*
* PostgreSQL type definitions for the INET and CIDR types. * PostgreSQL type definitions for the INET and CIDR types.
* *
* $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 $
* *
* Jon Postel RIP 16 Oct 1998 * Jon Postel RIP 16 Oct 1998
*/ */
...@@ -545,7 +545,7 @@ hashinet(PG_FUNCTION_ARGS) ...@@ -545,7 +545,7 @@ hashinet(PG_FUNCTION_ARGS)
int addrsize = ip_addrsize(addr); int addrsize = ip_addrsize(addr);
/* XXX this assumes there are no pad bytes in the data structure */ /* XXX this assumes there are no pad bytes in the data structure */
return hash_any(VARDATA(addr), addrsize + 2); return hash_any((unsigned char *) VARDATA(addr), addrsize + 2);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment