1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +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
(
" Device ID #%u" EOL
" Type : %s" EOL
" Vendor ID : %u" EOL
" Vendor : %s" EOL
" Name : %s" EOL
" Version : %s" EOL
" Processor(s) : %u" EOL
" Clock : %u" EOL
" Memory : %lu/%lu MB allocatable" EOL
" OpenCL Version : %s" EOL
" Driver Version : %s" EOL
"" EOL,
" Device ID #%u" EOL
" Type : %s" EOL
" Vendor ID : %u" EOL
" Vendor : %s" EOL
" Name : %s" EOL
" Version : %s" EOL
" Processor(s) : %u" EOL
" Clock : %u" EOL
" Memory : %" PRIu64 "/%" PRIu64 " MB allocatable" EOL
" OpenCL Version : %s" EOL
" Driver Version : %s" EOL
"" EOL,
devices_idx + 1,
((device_type & CL_DEVICE_TYPE_CPU) ? "CPU" : ((device_type & CL_DEVICE_TYPE_GPU) ? "GPU" : "Accelerator")),
device_vendor_id,