php-memcached-dev/php-memcached — pull request #120 by vincentbernat (2014-01-08 10:45:13+00:00)
Title: Fix compression on big-endian architecture

On big-endian architecture where size_t is a 64-bit long,
copying the 4 first bytes as the size is incorrect. We cast it to an
unsigned 32-bit integer before copying it at the beginning of the
provided buffer.