First time here? Check out the FAQ!
answered Jul 13 '0
You're using gint8 as the type for the fields which is signed, so any value greater than 0x7F is treated as negative and sign extended. Try using guint8.
gint8
guint8