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

@ -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]];
}