We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1067bd commit 28b044dCopy full SHA for 28b044d
code/logic/common.c
@@ -632,7 +632,7 @@ int pizza_sys_hostinfo_get_system(pizza_sys_hostinfo_system_t *info) {
632
snprintf(info->os_family, sizeof(info->os_family), "Windows NT");
633
snprintf(info->os_type, sizeof(info->os_type), "Desktop");
634
snprintf(info->os_platform, sizeof(info->os_platform), "win32");
635
- snprintf(info->os_machine, sizeof(info->os_machine), "%u", sysinfo.dwProcessorType);
+ snprintf(info->os_machine, sizeof(info->os_machine), "%lu", sysinfo.dwProcessorType);
636
snprintf(info->kernel_version, sizeof(info->kernel_version), "%lu", osvi.dwBuildNumber);
637
#elif defined(__APPLE__)
638
struct utsname sysinfo;
0 commit comments