mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 09:58:16 +00:00
Fix selftest.c warning
This commit is contained in:
parent
f6cfcbbc3a
commit
7e2101438c
@ -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)
|
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);
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user