aboutsummaryrefslogtreecommitdiff
path: root/stdlib/bytes.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/bytes.h')
-rw-r--r--stdlib/bytes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/bytes.h b/stdlib/bytes.h
index 757f986f..9bd4e1c2 100644
--- a/stdlib/bytes.h
+++ b/stdlib/bytes.h
@@ -32,9 +32,9 @@ Text_t Byte$hex(Byte_t byte, bool uppercase, bool prefix);
typedef struct {
Byte_t value;
- bool is_null:1;
+ bool has_value:1;
} OptionalByte_t;
-#define NONE_BYTE ((OptionalByte_t){.is_null=true})
+#define NONE_BYTE ((OptionalByte_t){.has_value=false})
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0