[ruby-cvs:66515] nobu:r59337 (trunk): zlib.c: fix unnormalized Fixnum

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jul 14 22:50:00 JST 2017


nobu	2017-07-14 22:50:00 +0900 (Fri, 14 Jul 2017)

  New Revision: 59337

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

  Log:
    zlib.c: fix unnormalized Fixnum
    
    * ext/zlib/zlib.c (rb_gzfile_total_out): cast to long not to
      result in an unsigned long to normalized to Fixnum on LLP64
      platforms.  [ruby-core:81488]

  Modified files:
    trunk/ext/zlib/zlib.c


More information about the ruby-cvs mailing list