From 147e0f0269440fce15d6b88a8a90627f3a3b2df2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 5 Mar 2025 18:20:54 -0500 Subject: Overhaul of constructors, making it more consistent and correct. Also changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct for unambiguity --- stdlib/paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/paths.c') diff --git a/stdlib/paths.c b/stdlib/paths.c index 98bcab56..a42dc5ad 100644 --- a/stdlib/paths.c +++ b/stdlib/paths.c @@ -277,7 +277,7 @@ public OptionalArray_t Path$read_bytes(Path_t path, OptionalInt_t count) if (fstat(fd, &sb) != 0) return NONE_ARRAY; - int64_t const target_count = count.small ? Int_to_Int64(count, false) : INT64_MAX; + int64_t const target_count = count.small ? Int64$from_int(count, false) : INT64_MAX; if (target_count < 0) fail("Cannot read a negative number of bytes!"); -- cgit v1.2.3