From a7c177bbf4f4154a0025797d9efa9cbade93162e Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 1 Dec 2008 22:17:37 +0000 Subject: [PATCH] Fix build on !FreeBSD systems. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3451 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvarnish/vsha256.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /* -- 2.39.5