Index: XMPPConnection.m ================================================================== --- XMPPConnection.m +++ XMPPConnection.m @@ -53,12 +53,11 @@ - (void)connect { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; - [sock connectToService: [OFString stringWithFormat: @"%u", port] - onNode: server]; + [sock connectToHost: server onPort: port]; [self _startStream]; [pool release]; } Index: XMPPStanza.h ================================================================== --- XMPPStanza.h +++ XMPPStanza.h @@ -51,7 +51,7 @@ + presenceWithType: (OFString*)type_ ID: (OFString*)ID_; - (void)addShow: (OFString*)show; - (void)addStatus: (OFString*)status; -- (void)addPriority: (char)priority; +- (void)addPriority: (int8_t)priority; @end Index: XMPPStanza.m ================================================================== --- XMPPStanza.m +++ XMPPStanza.m @@ -202,12 +202,12 @@ { [self addChild: [OFXMLElement elementWithName: @"status" stringValue: status]]; } -- (void)addPriority: (char)priority +- (void)addPriority: (int8_t)priority { - OFString* prio = [OFString stringWithFormat: @"%d", priority]; + OFString* prio = [OFString stringWithFormat: @"%" @PRId8, priority]; [self addChild: [OFXMLElement elementWithName: @"priority" stringValue: prio]]; } @end Index: XMPPStanza.o ================================================================== --- XMPPStanza.o +++ XMPPStanza.o cannot compute difference between binary files