[ruby-cvs:72419] mame:r65319 (trunk): file.c: use correct integer-conversion function

mame at ruby-lang.org mame at ruby-lang.org
Tue Oct 23 21:23:04 JST 2018


mame	2018-10-23 21:23:04 +0900 (Tue, 23 Oct 2018)

  New Revision: 65319

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

  Log:
    file.c: use correct integer-conversion function
    
    The return value of major() and minor() is unsigned int, not dev_t.
    So, UINT2NUM() is a better choice than DEVT2NUM().

  Modified files:
    trunk/file.c


More information about the ruby-cvs mailing list