Fix compilation without protocol decoding support.
Fix compilation on Fedora 20 64-bit (GCC 4.8.3)

Basic problem is that 'uint64_t' and 'quint64' are not defined to the
same base type, and as such can't be transparently converted.