Commit 39dfa847 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make this cast less suspect to Flexelint


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2489 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 30db5db9
......@@ -609,7 +609,7 @@ smf_open(const struct stevedore *st)
(uintmax_t)sum, sc->filesize);
/* XXX */
if (sum < MINPAGES * (uintmax_t)getpagesize())
if (sum < MINPAGES * (off_t)getpagesize())
exit (2);
MTX_INIT(&sc->mtx);
......
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