From 7e2101438c67774a1750982420529e9e43399d55 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sat, 10 Mar 2018 14:26:14 +0100 Subject: [PATCH] Fix selftest.c warning --- src/selftest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selftest.c b/src/selftest.c index 3994db83d..43d034541 100644 --- a/src/selftest.c +++ b/src/selftest.c @@ -57,7 +57,7 @@ static int selftest (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param if (hashconfig->opts_type & OPTS_TYPE_PT_UPPER) { - uppercase (pw_ptr, pw.pw_len); + uppercase ((u8 *) pw_ptr, pw.pw_len); } CL_err = hc_clEnqueueWriteBuffer (hashcat_ctx, device_param->command_queue, device_param->d_pws_buf, CL_TRUE, 0, 1 * sizeof (pw_t), &pw, 0, NULL, NULL);