[ruby-cvs:70837] normal:r63746 (trunk): mjit.c: avoid signed pointer comparisons (fix for 32-bit)

normal at ruby-lang.org normal at ruby-lang.org
Mon Jun 25 11:52:34 JST 2018


normal	2018-06-25 11:52:34 +0900 (Mon, 25 Jun 2018)

  New Revision: 63746

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63746

  Log:
    mjit.c: avoid signed pointer comparisons (fix for 32-bit)
    
    ptrdiff_t is a signed type, use uintptr_t instead for unsigned
    comparisons.  This is needed to allow MJIT tests to pass on
    32-bit x86 GNU/Linux.

  Modified files:
    trunk/mjit.c


More information about the ruby-cvs mailing list