Fri, 10 Jan 2025 15:03:58 +0100
fix build on Solaris 10 and other platforms, where ferror is a just a macro
src/properties.c | file | annotate | diff | comparison | revisions |
--- a/src/properties.c Thu Jan 09 22:37:10 2025 +0100 +++ b/src/properties.c Fri Jan 10 15:03:58 2025 +0100 @@ -282,7 +282,7 @@ ) { target->ptr = src->data_ptr; target->length = fread(src->data_ptr, 1, src->data_size, src->src); - return ferror(src->src); + return ferror((FILE*)src->src); } static int cx_properties_read_init_file(