8000 Parenthesize this macro, just in case. · postgrespro/postgres_cluster@0c0203d · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

Commit 0c0203d

Browse files
committed
Parenthesize this macro, just in case.
1 parent 4913efc commit 0c0203d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.129 2010/01/10 14:16:08 mha Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.130 2010/01/31 17:35:46 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -20,7 +20,7 @@
2020
/* socket has a different definition on WIN32 */
2121
#ifndef WIN32
2222
typedef int pgsocket;
23-
#define PGINVALID_SOCKET -1
23+
#define PGINVALID_SOCKET (-1)
2424
#else
2525
typedef SOCKET pgsocket;
2626
#define PGINVALID_SOCKET INVALID_SOCKET

0 commit comments

Comments
 (0)
0