summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-27 22:58:11 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2009-12-27 22:58:11 +0100
commitd0dbe37df6181f45dd774b779c7ac7b2e1b5f178 (patch)
tree156eb8b05cdd77faf5d131a1526d7382d8d70410 /lib
parent04bfbe54f86d0e34abe2a7bf5c468e20e75a9a21 (diff)
Fixing the non-byteswap.h versions.
Diffstat (limited to 'lib')
-rw-r--r--lib/Handle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index 7124c38..e8ac1d5 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -49,8 +49,8 @@ inline Uint64 bswap_64(Uint64 w) {
} x;
Uint32 v1, v2;
x.v = w;
- v1 = bswap32(x.v1);
- v2 = bswap32(x.v2);
+ v1 = bswap_32(x.v1);
+ v2 = bswap_32(x.v2);
x.v1 = v2;
x.v2 = v1;
return x.v;