Changing frame counter in vnc log to uint32 and swapping bytes. The frame counter may also wrap without problems.