Skip to content

Commit cb29ff8

Browse files
committed
Fix incorrect use of bool
NSUnLinkModule() doesn't take a bool as second argument but one of set of specific constants. The numeric values are the same in this case, but clean it up while we're cleaning up bool use elsewhere. Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
1 parent a9169f0 commit cb29ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/port/dynloader/darwin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pg_dlopen(char *filename)
6969
void
7070
pg_dlclose(void *handle)
7171
{
72-
NSUnLinkModule(handle, FALSE);
72+
NSUnLinkModule(handle, NSUNLINKMODULE_OPTION_NONE);
7373
}
7474

7575
PGFunction

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy