mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add parentheses around macro arguement 'msec'
The is needed to ensure that the multiplication is correctly done. This was reported by Jinmei Tatuya.
This commit is contained in:
parent
b0f3a440f1
commit
ebfbad29c1
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ uv_tcp_close_reset(uv_tcp_t *handle, uv_close_cb close_cb);
|
|||
#endif
|
||||
|
||||
#if UV_VERSION_HEX < UV_VERSION(1, 34, 0)
|
||||
#define uv_sleep(msec) usleep(msec * 1000)
|
||||
#define uv_sleep(msec) usleep((msec) * 1000)
|
||||
#endif /* UV_VERSION_HEX < UV_VERSION(1, 34, 0) */
|
||||
|
||||
#if UV_VERSION_HEX < UV_VERSION(1, 27, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue