Skip to content

Commit 07941c9

Browse files
bugfix: failed to compilation on rocky-9.
Error: implicit truncation from 'unsigned int' to a one-bit wide bit-field changes value from 1 to -1
1 parent e4fb76a commit 07941c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngx_http_rds_json_filter_module.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ typedef struct {
106106

107107
uint32_t field_data_rest;
108108

109-
ngx_flag_t header_sent:1;
110-
ngx_flag_t seen_stream_end:1;
111-
ngx_flag_t generated_col_names:1;
109+
ngx_uint_t header_sent:1;
110+
ngx_uint_t seen_stream_end:1;
111+
ngx_uint_t generated_col_names:1;
112112
} ngx_http_rds_json_ctx_t;
113113

114114

0 commit comments

Comments
 (0)