From: phk Date: Mon, 1 Dec 2008 22:17:37 +0000 (+0000) Subject: Fix build on !FreeBSD systems. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c177bbf4f4154a0025797d9efa9cbade93162e;p=varnish Fix build on !FreeBSD systems. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3451 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvarnish/vsha256.c b/varnish-cache/lib/libvarnish/vsha256.c index eacaf438..286d4f4a 100644 --- a/varnish-cache/lib/libvarnish/vsha256.c +++ b/varnish-cache/lib/libvarnish/vsha256.c @@ -81,8 +81,8 @@ mybe64enc(void *pp, uint64_t u) { unsigned char *p = (unsigned char *)pp; - be32enc(p, u >> 32); - be32enc(p + 4, u & 0xffffffff); + mybe32enc(p, u >> 32); + mybe32enc(p + 4, u & 0xffffffff); } /*