Skip to content

Commit 75c4747

Browse files
committed
Suppress signed-vs-unsigned-char warning.
1 parent ec057a4 commit 75c4747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/network.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* PostgreSQL type definitions for the INET and CIDR types.
33
*
4-
* $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.61 2006/01/26 02:35:49 tgl Exp $
4+
* $PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.62 2006/01/26 18:08:10 tgl Exp $
55
*
66
* Jon Postel RIP 16 Oct 1998
77
*/
@@ -545,7 +545,7 @@ hashinet(PG_FUNCTION_ARGS)
545545
int addrsize = ip_addrsize(addr);
546546

547547
/* XXX this assumes there are no pad bytes in the data structure */
548-
return hash_any(VARDATA(addr), addrsize + 2);
548+
return hash_any((unsigned char *) VARDATA(addr), addrsize + 2);
549549
}
550550

551551
/*

0 commit comments

Comments
 (0)