change int to udword

This commit is contained in:
Marc Chapman 2017-08-10 18:00:13 +01:00
parent 04299c972f
commit 4d22ff5894

View file

@ -97,7 +97,7 @@
//! y ^= x; /* y' = (y^(x^y)) = x */
//! x ^= y; /* x' = (x^y)^x = y */
inline_ void xorSwap(udword& x, udword& y) { x ^= y; y ^= x; x ^= y; }
inline_ void Swap(udword& x, udword& y) {int temp = x; x = y; y = temp; }
inline_ void Swap(udword& x, udword& y) { udword temp = x; x = y; y = temp; }
//! Little/Big endian (from Steve Baker's Cute Code Collection)
//!