Source: varnish-modules Version: 0.9.0-1 Severity: important Justification: fails to build from source
Builds of varnish-modules for 32-bit platforms such as i386 have been failing: vmod_cookie.c: In function 'vmod_parse': vmod_cookie.c:79:28: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=] VSLb(ctx->vsl, SLT_Debug, "cookie: cookie string is %lu bytes.", strlen(cookieheader)); ^ vmod_cookie.c:113:29: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=] VSLb(ctx->vsl, SLT_Debug, "value length is %lu.", strlen(value)); ^ Please substitute %zu here (and anywhere else necessary). Thanks!