From 5906f1ab54a6f07f98844f65f41038cce54edd03 Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 25 Oct 2016 15:51:44 +0200 Subject: [PATCH] Fix some format string for 64 bit --- src/opencl.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/opencl.c b/src/opencl.c index 9bc4db6cd..6ab4699a9 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -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,