X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fbyteorder.cc;h=9f11aa84b3e27bcc2c5003c1d62856fb42ee8c10;hb=59acef2d2b59a3f1a55337a933b97d901d46133a;hp=eb37fda82dcee74251215479fbe572fc756297b6;hpb=0ce6b69e0f8e25e50bd878678b1444651093bac4;p=awesomized%2Flibmemcached diff --git a/libmemcached/byteorder.cc b/libmemcached/byteorder.cc index eb37fda8..9f11aa84 100644 --- a/libmemcached/byteorder.cc +++ b/libmemcached/byteorder.cc @@ -46,7 +46,7 @@ static inline uint64_t swap64(uint64_t in) /* Little endian, flip the bytes around until someone makes a faster/better * way to do this. */ uint64_t rv= 0; - for (uint8_t x= 0; x < 8; x++) + for (uint8_t x= 0; x < 8; ++x) { rv= (rv << 8) | (in & 0xff); in >>= 8;