From 3529e8525a582b094635f8644968b6d494f7f976 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Mon, 20 Apr 2026 22:05:04 +0100 Subject: [PATCH] io: update write_string function references --- io/sys/darwin/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/sys/darwin/path.c b/io/sys/darwin/path.c index 42d3d35..c8f50f9 100644 --- a/io/sys/darwin/path.c +++ b/io/sys/darwin/path.c @@ -379,7 +379,7 @@ void path_to_string(const fx_object *obj, fx_stream *out) { struct fx_path_p *path = fx_object_get_private(obj, FX_TYPE_PATH); - fx_stream_write_string(out, fx_string_ptr(path->p_pathstr), NULL); + fx_stream_write_cstr(out, fx_string_ptr(path->p_pathstr), NULL); } /*** CLASS DEFINITION *********************************************************/