Skip to content

Commit 28b044d

Browse files
small change for windows
1 parent e1067bd commit 28b044d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ int pizza_sys_hostinfo_get_system(pizza_sys_hostinfo_system_t *info) {
632632
snprintf(info->os_family, sizeof(info->os_family), "Windows NT");
633633
snprintf(info->os_type, sizeof(info->os_type), "Desktop");
634634
snprintf(info->os_platform, sizeof(info->os_platform), "win32");
635-
snprintf(info->os_machine, sizeof(info->os_machine), "%u", sysinfo.dwProcessorType);
635+
snprintf(info->os_machine, sizeof(info->os_machine), "%lu", sysinfo.dwProcessorType);
636636
snprintf(info->kernel_version, sizeof(info->kernel_version), "%lu", osvi.dwBuildNumber);
637637
#elif defined(__APPLE__)
638638
struct utsname sysinfo;

0 commit comments

Comments
 (0)