summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuichi Nishiwaki <[email protected]>2013-08-04 00:15:07 -0700
committerYuichi Nishiwaki <[email protected]>2013-08-04 00:18:03 -0700
commit07fefb585e2d2265c63f5ce83b83ab38f06a8e49 (patch)
tree6954c9dba14abec397483c330059ed6d47814469
parent831e16cdf5c4a14f53b8caec48be904a3796d302 (diff)
downloadmruby-07fefb585e2d2265c63f5ce83b83ab38f06a8e49.tar.gz
mruby-07fefb585e2d2265c63f5ce83b83ab38f06a8e49.zip
cosmetic changes
-rw-r--r--include/mruby/value.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/mruby/value.h b/include/mruby/value.h
index 2ad47aa99..e98d3ce14 100644
--- a/include/mruby/value.h
+++ b/include/mruby/value.h
@@ -130,16 +130,16 @@ typedef struct mrb_value {
union {
mrb_float f;
union {
- void *p;
- struct {
- MRB_ENDIAN_LOHI(
- uint32_t ttt;
- ,union {
- mrb_int i;
- mrb_sym sym;
- };
- )
- };
+ void *p;
+ struct {
+ MRB_ENDIAN_LOHI(
+ uint32_t ttt;
+ ,union {
+ mrb_int i;
+ mrb_sym sym;
+ };
+ )
+ };
} value;
};
} mrb_value;
@@ -157,7 +157,7 @@ typedef struct mrb_value {
#define MRB_SET_VALUE_P(o, tt, v) do {\
(o).value.ttt = mrb_mktt(tt);\
(o).value.i = 0;\
- (o).value.p = (void*)((uint64_t)(o).value.p | (((uint64_t)(v))>>2)); \
+ (o).value.p = (void*)((uint64_t)(o).value.p | (((uint64_t)(v))>>2));\
} while (0)
static inline mrb_value