Use int8_t instead of char

This commit is contained in:
Florian Zeitz 2011-02-10 22:11:34 +01:00
parent c591ca3547
commit 4e73c4a229
4 changed files with 4 additions and 5 deletions

View file

@ -55,8 +55,7 @@
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
[sock connectToService: [OFString stringWithFormat: @"%u", port]
onNode: server];
[sock connectToHost: server onPort: port];
[self _startStream];
[pool release];

View file

@ -53,5 +53,5 @@
- (void)addShow: (OFString*)show;
- (void)addStatus: (OFString*)status;
- (void)addPriority: (char)priority;
- (void)addPriority: (int8_t)priority;
@end

View file

@ -204,9 +204,9 @@
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]];
}

Binary file not shown.