[ruby-cvs:68027] normal:r60846 (trunk): file.c: fix 64-bit conversion warnings from r60844

normal at ruby-lang.org normal at ruby-lang.org
Sun Nov 19 14:03:22 JST 2017


normal	2017-11-19 14:03:22 +0900 (Sun, 19 Nov 2017)

  New Revision: 60846

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

  Log:
    file.c: fix 64-bit conversion warnings from r60844
    
    * file.c (nogvl_truncate): cast int to VALUE before "void *"
      (rb_file_s_truncate): cast "void *" to VALUE before int

  Modified files:
    trunk/file.c


More information about the ruby-cvs mailing list