Use int8_t instead of char
This commit is contained in:
parent
c591ca3547
commit
4e73c4a229
4 changed files with 4 additions and 5 deletions
|
@ -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]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue