# HG changeset patch # User Olaf Wintermann # Date 1736517838 -3600 # Node ID 9fa87f9882babc60f88529451a79d3b48f9812af # Parent 54df904472b0d5ac1e3afa0228be0d00d987d5e2 fix build on Solaris 10 and other platforms, where ferror is a just a macro diff -r 54df904472b0 -r 9fa87f9882ba src/properties.c --- 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(