src/properties.c

changeset 1118
9fa87f9882ba
parent 1031
8a90552bba29
--- 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(

mercurial