Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75c4747

Browse files
committed
Suppress signed-vs-unsigned-char warning.
1 parentec057a4 commit75c4747

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/2602:35:49 tgl Exp $
4+
*$PostgreSQL: pgsql/src/backend/utils/adt/network.c,v 1.62 2006/01/2618:08:10 tgl Exp $
55
*
66
*Jon Postel RIP 16 Oct 1998
77
*/
@@ -545,7 +545,7 @@ hashinet(PG_FUNCTION_ARGS)
545545
intaddrsize=ip_addrsize(addr);
546546

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

551551
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp