From 49a048c54428fef85f8b52b82916b1a39112a51e Mon Sep 17 00:00:00 2001 From: ksss Date: Mon, 10 Mar 2014 13:14:07 +0000 Subject: set bit field for mrb_bool --- src/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index 3d3f084ca..dff8de90f 100644 --- a/src/string.c +++ b/src/string.c @@ -41,7 +41,7 @@ const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz"; typedef struct mrb_shared_string { - mrb_bool nofree; + mrb_bool nofree : 1; int refcnt; char *ptr; mrb_int len; -- cgit v1.2.3