VCL_INT is int64_t, not long. Do as varnish does: cast to intmax_t.
intmax_t
This should fix #3 (closed)