Klaus Demo nginx / 5a19c03
Fixed NGX_TID_T_FMT format specification for uint64_t. Previously, "%uA" was used, which corresponds to ngx_atomic_uint_t. Size of ngx_atomic_uint_t can be easily different from uint64_t, leading to undefined results. Maxim Dounin 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4646 #elif (NGX_DARWIN)
4747
4848 typedef uint64_t ngx_tid_t;
49 #define NGX_TID_T_FMT "%uA"
49 #define NGX_TID_T_FMT "%uL"
5050
5151 #else
5252
5353 typedef uint64_t ngx_tid_t;
54 #define NGX_TID_T_FMT "%uA"
54 #define NGX_TID_T_FMT "%uL"
5555
5656 #endif
5757