mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
fix: build error on x64
This commit is contained in:
parent
a1f8994c94
commit
ca95d390c2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user