aboutsummaryrefslogtreecommitdiffstats
path: root/toml.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-04-28 11:37:18 -0400
committerSam Anthony <sam@samanthony.xyz>2025-04-28 11:37:18 -0400
commitba1170ac0504fbe7cf96a9d6515477ed8de1b29d (patch)
tree3ab6d0e462e6049d2e264968dfc7df533465fac7 /toml.h
parent27f637904876fac0f8e69b6829591ea0a7689bb2 (diff)
downloadvolute-ba1170ac0504fbe7cf96a9d6515477ed8de1b29d.zip
toml-c c99 compliance
Diffstat (limited to 'toml.h')
-rw-r--r--toml.h4
1 files changed, 2 insertions, 2 deletions
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