aboutsummaryrefslogtreecommitdiffstats
path: root/toml.h
diff options
context:
space:
mode:
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