1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-25 09:28:20 +00:00

Fix the GPU Platform fix

This commit is contained in:
jsteube 2015-12-31 15:31:21 +01:00
parent 04e5ad2d54
commit 700ed7dba7

View File

@ -12294,10 +12294,14 @@ int main (int argc, char **argv)
return (-1);
}
// user does not count with zero
CL_platform_sel -= 1;
}
}
cl_platform_id CL_platform = CL_platforms[CL_platform_sel - 1];
cl_platform_id CL_platform = CL_platforms[CL_platform_sel];
char CL_platform_vendor[INFOSZ];