Project

General

Profile

« Previous | Next » 

Revision c54622c6

Added by znz (Kazuhiro NISHIYAMA) almost 2 years ago

Fix a warning with USE_RUBY_DEBUG_LOG=1 on macOS

compiling ../thread.c In file included from ../thread.c:263: In file included from ../thread_pthread.c:2870: ../thread_pthread_mn.c:777:43: warning: format specifies type 'unsigned long' but the argument has type 'rb_hrtime_t' (aka 'unsigned long long') [-Wformat] RUBY_DEBUG_LOG("abs:%lu", abs); ~~~ ^~~ %llu ../vm_debug.h:110:74: note: expanded from macro 'RUBY_DEBUG_LOG' ruby_debug_log(__FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING, "" __VA_ARGS__); \ ^~~~~~~~~~~ 1 warning generated.