- (void) sendMessage:(int) type data:(char) data length:(int)length
message = type;
I know this is in Obj-C but the important part is pure C. The weird bit at the top is just Obj-C's way of making an instance method. Basically, length and type are both integers.
So, I pass 0x90 to 'type', and the printf gives me FFFFFF90. If I printf message or , I get 7 and FFFFFF84, respectively. They should, of course, be empty.
So, what the hell is going on? I feel I have made some kind of rookie mistake.