1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-17 01:52:06 +00:00

Fix some format string for 64 bit

This commit is contained in:
jsteube 2016-10-25 15:51:44 +02:00
parent 824654e2fb
commit 5906f1ab54

View File

@ -2865,18 +2865,18 @@ void opencl_ctx_devices_show (hashcat_ctx_t *hashcat_ctx)
printf printf
( (
" Device ID #%u" EOL " Device ID #%u" EOL
" Type : %s" EOL " Type : %s" EOL
" Vendor ID : %u" EOL " Vendor ID : %u" EOL
" Vendor : %s" EOL " Vendor : %s" EOL
" Name : %s" EOL " Name : %s" EOL
" Version : %s" EOL " Version : %s" EOL
" Processor(s) : %u" EOL " Processor(s) : %u" EOL
" Clock : %u" EOL " Clock : %u" EOL
" Memory : %lu/%lu MB allocatable" EOL " Memory : %" PRIu64 "/%" PRIu64 " MB allocatable" EOL
" OpenCL Version : %s" EOL " OpenCL Version : %s" EOL
" Driver Version : %s" EOL " Driver Version : %s" EOL
"" EOL, "" EOL,
devices_idx + 1, devices_idx + 1,
((device_type & CL_DEVICE_TYPE_CPU) ? "CPU" : ((device_type & CL_DEVICE_TYPE_GPU) ? "GPU" : "Accelerator")), ((device_type & CL_DEVICE_TYPE_CPU) ? "CPU" : ((device_type & CL_DEVICE_TYPE_GPU) ? "GPU" : "Accelerator")),
device_vendor_id, device_vendor_id,