} else {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"too long parameter \"%*s...\" started",
- 10, start);
+ (size_t) 10, start);
return NGX_ERROR;
}
if (OSSL_ECHSTORE_num_keys(es, &numkeys) != 1) {
ngx_ssl_error(NGX_LOG_EMERG, ssl->log, 0,
- "OSSL_ECHSTORE_num_keys(%s) failed");
+ "OSSL_ECHSTORE_num_keys() failed");
goto cleanup;
}
case NGX_QUIC_FT_ACK:
case NGX_QUIC_FT_ACK_ECN:
- p = ngx_slprintf(p, last, "ACK n:%ui delay:%uL ",
+ p = ngx_slprintf(p, last, "ACK n:%uL delay:%uL ",
f->u.ack.range_count, f->u.ack.delay);
if (f->data) {
case NGX_QUIC_FT_CONNECTION_CLOSE:
case NGX_QUIC_FT_CONNECTION_CLOSE_APP:
- p = ngx_slprintf(p, last, "CONNECTION_CLOSE%s err:%ui",
+ p = ngx_slprintf(p, last, "CONNECTION_CLOSE%s err:%uL",
f->type == NGX_QUIC_FT_CONNECTION_CLOSE ? "" : "_APP",
f->u.close.error_code);
}
if (f->type == NGX_QUIC_FT_CONNECTION_CLOSE) {
- p = ngx_slprintf(p, last, " ft:%ui", f->u.close.frame_type);
+ p = ngx_slprintf(p, last, " ft:%uL", f->u.close.frame_type);
}
break;
e = (ngx_uint_t) range[i].end;
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "range \"%V\" overlaps \"%d.%d.%d.%d-%d.%d.%d.%d\"",
+ "range \"%V\" overlaps \"%i.%i.%i.%i-%i.%i.%i.%i\"",
ctx->net,
h >> 8, h & 0xff, s >> 8, s & 0xff,
h >> 8, h & 0xff, e >> 8, e & 0xff);
if (*sp % NGX_POOL_ALIGNMENT) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the pool size must be a multiple of %uz",
+ "the pool size must be a multiple of %d",
NGX_POOL_ALIGNMENT);
return NGX_CONF_ERROR;
}
if (*sp % NGX_POOL_ALIGNMENT) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the pool size must be a multiple of %uz",
+ "the pool size must be a multiple of %d",
NGX_POOL_ALIGNMENT);
return NGX_CONF_ERROR;
if (*sp > NGX_HTTP_V2_MAX_WINDOW) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the maximum body preread buffer size is %uz",
+ "the maximum body preread buffer size is %ud",
NGX_HTTP_V2_MAX_WINDOW);
return NGX_CONF_ERROR;
e = (ngx_uint_t) range[i].end;
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "range \"%V\" overlaps \"%d.%d.%d.%d-%d.%d.%d.%d\"",
+ "range \"%V\" overlaps \"%i.%i.%i.%i-%i.%i.%i.%i\"",
ctx->net,
h >> 8, h & 0xff, s >> 8, s & 0xff,
h >> 8, h & 0xff, e >> 8, e & 0xff);