But, as I said in the note, I prefer the array-of-bytes approach. You could defin dest as uchar dest[2]; and use `v = dest[0] << 8 | dest[1]' to get its value. Works on any byte sex machine.