Fix various incorrect format string types

This commit is contained in:
Frederik Seiffert 2021-08-10 18:49:29 +02:00 committed by Frederik Seiffert
parent 87dc8ab70c
commit 27c06a9209
14 changed files with 102 additions and 96 deletions

View file

@ -1139,7 +1139,7 @@ static void determineOperatingSystem()
* use the information from NSBundle and only get the version info
* here.
*/
_operatingSystemVersion = [[NSString alloc] initWithFormat: @"%d.%d",
_operatingSystemVersion = [[NSString alloc] initWithFormat: @"%lu.%lu",
osver.dwMajorVersion, osver.dwMinorVersion];
#else
#if defined(HAVE_SYS_UTSNAME_H)