[ruby-cvs:71804] k0kubun:r64712 (trunk): thread.c: fix -Wformat warning

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Thu Sep 13 15:49:50 JST 2018


k0kubun	2018-09-13 15:49:49 +0900 (Thu, 13 Sep 2018)

  New Revision: 64712

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

  Log:
    thread.c: fix -Wformat warning
    
    ../thread.c:1219:18: warning: format specifies type 'unsigned long' but the argument has type 'rb_hrtime_t'
          (aka 'unsigned long long') [-Wformat]
                     end, now);
                     ^~~
    ../thread.c:1219:23: warning: format specifies type 'unsigned long' but the argument has type 'rb_hrtime_t'
          (aka 'unsigned long long') [-Wformat]
                     end, now);
                          ^~~

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list