]> err.no Git - varnish/commitdiff
Fix build on !FreeBSD systems.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 1 Dec 2008 22:17:37 +0000 (22:17 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 1 Dec 2008 22:17:37 +0000 (22:17 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3451 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/vsha256.c

index eacaf438ea40a99f2bdec63e146810c8612e794f..286d4f4a2d49c1b73341d15abb5517d38c277fc0 100644 (file)
@@ -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);
 }
 
 /*