From 84d33563c52507dac552266a1070e402520e16fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Fri, 10 Apr 2020 18:13:24 +0200 Subject: [PATCH] Use proper format specifier for uint_8 values %hhu, as suggested by Xcode. --- xcode/OLMKit/OLMKit.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/OLMKit/OLMKit.mm b/xcode/OLMKit/OLMKit.mm index c383650..37314cd 100644 --- a/xcode/OLMKit/OLMKit.mm +++ b/xcode/OLMKit/OLMKit.mm @@ -27,7 +27,7 @@ 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