mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
fix: build error on x64
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user