Commit 0ea64396 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix compilation under macos

parent cb61f602
......@@ -64,18 +64,18 @@ VRT_synth(VRT_CTX, VCL_INT code, VCL_STRING reason)
assert(ctx->req != NULL || ctx->bo != NULL);
if (code < 0) {
VRT_fail(ctx, "return(synth()) status code (%jd) is negative",
code);
(intmax_t)code);
return;
}
if (code > 65535) {
VRT_fail(ctx, "return(synth()) status code (%jd) > 65535",
code);
(intmax_t)code);
return;
}
if ((code % 1000) < 100) {
VRT_fail(ctx,
"illegal return(synth()) status code (%jd) (..0##)",
code);
(intmax_t)code);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment