fix the type signature for macOS

This commit is contained in:
Krasimir Angelov committed 2023-09-07 10:19:36 +02:00
1 parent b265249fe9
commit dde9fc1228
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ PgfDB *pgf_boot_ngf_cookie(void *cookie,
#if defined(__linux__)
ssize_t (*readfn)(void *, char *, size_t),
#else
int (*readfn)(void *, const char *, int),
int (*readfn)(void *, char *, int),
#endif
const char* ngf_path,
PgfRevision *revision,
+1 -1
View File
@@ -267,7 +267,7 @@ PgfDB *pgf_boot_ngf_cookie(void *cookie,
#if defined(__linux__)
ssize_t (*readfn)(void *, char *, size_t),
#else
int (*readfn)(void *, const char *, int),
int (*readfn)(void *, char *, int),
#endif
const char* ngf_path,
PgfRevision *revision,