diff options
author | Benoit Daloze <[email protected]> | 2021-04-29 14:31:05 +0200 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2021-05-04 14:56:55 +0200 |
commit | 68d6bd0873557c12bec6f8e0f8db622f1499d8a7 () | |
tree | dd50dae6ebbf714d19e3db7272f0d9b6af86223e /memory_view.c | |
parent | 229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff) |
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/4428
-rw-r--r-- | memory_view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -671,7 +671,7 @@ extract_item_member(const uint8_t *ptr, const rb_memory_view_item_component_t *m return LL2NUM(val.ll); } else { -#if SIZEOF_INT64_t == SIZEOF_LONG return LONG2NUM(val.i64); #else return LL2NUM(val.i64); @@ -683,7 +683,7 @@ extract_item_member(const uint8_t *ptr, const rb_memory_view_item_component_t *m return ULL2NUM(val.ull); } else { -#if SIZEOF_UINT64_t == SIZEOF_LONG return ULONG2NUM(val.u64); #else return ULL2NUM(val.u64); |