Skip to content

Commit c372e1c

Browse files
committed
optimize: made ngx_http_lua_log_ringbuf_header_t have the same size on linux i386 and x64.
1 parent 67664fe commit c372e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_http_lua_log_ringbuf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
typedef struct {
1313
double time;
14-
unsigned len:28; /* :24 is big enough if the max log size is 4k */
15-
unsigned log_level:4;
14+
unsigned len;
15+
unsigned log_level;
1616
} ngx_http_lua_log_ringbuf_header_t;
1717

1818

0 commit comments

Comments
 (0)