summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/mruby/value.h10
-rw-r--r--src/proc.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index f6d08f58e..83696715d 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -153,12 +153,12 @@ typedef struct mrb_value {
union {
void *p;
struct {
- MRB_ENDIAN_LOHI(
- uint32_t ttt;
+ MRB_ENDIAN_LOHI(
+ uint32_t ttt;
,union {
- mrb_int i;
- mrb_sym sym;
- };
+ mrb_int i;
+ mrb_sym sym;
+ };
)
};
} value;
diff --git a/src/proc.c b/src/proc.c
index 443734da0..d4fe86680 100644
--- a/src/proc.c
+++ b/src/proc.c
@@ -91,7 +91,7 @@ mrb_proc_copy(struct RProc *a, struct RProc *b)
a->body = b->body;
if (!MRB_PROC_CFUNC_P(a)) {
a->body.irep->refcnt++;
- };
+ }
a->target_class = b->target_class;
a->env = b->env;
}