[ruby-cvs:69864] kazu:r62709 (trunk): Fix warning: cast from pointer to integer of different size

kazu at ruby-lang.org kazu at ruby-lang.org
Sat Mar 10 09:34:24 JST 2018


kazu	2018-03-10 09:34:24 +0900 (Sat, 10 Mar 2018)

  New Revision: 62709

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

  Log:
    Fix warning: cast from pointer to integer of different size
    
    ```
    .../ruby/iseq.c: In function ?\226?\128?\152rb_vm_insn_null_translator?\226?\128?\153:
    .../ruby/iseq.c:137:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         return (int)addr;
                ^
    ```

  Modified files:
    trunk/iseq.c


More information about the ruby-cvs mailing list