1
0
forked from GitHub/gf-core

fix the type signature for macOS

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

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,

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,