From ba1170ac0504fbe7cf96a9d6515477ed8de1b29d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 28 Apr 2025 11:37:18 -0400 Subject: toml-c c99 compliance --- toml.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toml.h') diff --git a/toml.h b/toml.h index 9ed36ae..3833fc8 100644 --- a/toml.h +++ b/toml.h @@ -90,8 +90,8 @@ struct toml_value_t { union { struct { char* s; // string value; must be freed after use. - int sl; // string length, excluding NULL. - }; + int len; // string length, excluding NULL. + } s; toml_timestamp_t ts; // datetime bool b; // bool int64_t i; // int -- cgit v1.2.3