fix: build error on x64

This commit is contained in:
javalsai 2024-08-20 23:56:46 +02:00
parent a1f8994c94
commit ca95d390c2
Signed by: javalsai
SSH Key Fingerprint: SHA256:3G83yKhBUWVABVX/vPWH88xnK4+ptMtHkZGCRXD4Mk8

View File

@ -128,7 +128,7 @@ struct config *parse_config(char *path) {
__config = malloc(sizeof(struct config));
if (__config == NULL)
return NULL;
bool ret = line_parser(fd, &sb.st_blksize, config_line_handler);
bool ret = line_parser(fd, (ssize_t*)&sb.st_blksize, config_line_handler);
if (!ret) {
free(__config);
return NULL;