Use proper format specifier for uint_8 values

%hhu, as suggested by Xcode.
This commit is contained in:
Helge Heß 2020-04-10 18:13:24 +02:00
parent f4ab61fa46
commit 84d33563c5

View file

@ -27,7 +27,7 @@
olm_get_library_version(&major, &minor, &patch); olm_get_library_version(&major, &minor, &patch);
return [NSString stringWithFormat:@"%tu.%tu.%tu", major, minor, patch]; return [NSString stringWithFormat:@"%hhu.%hhu.%hhu", major, minor, patch];
} }
@end @end