1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-08 23:01:14 +00:00

Do not use uint if not needed

This commit is contained in:
jsteube 2019-03-25 21:57:10 +01:00
parent 891a5beef8
commit 69587c91dd
2 changed files with 8 additions and 8 deletions

View File

@ -15,11 +15,11 @@
#define HAS_VBFE 0
#define VECT_SIZE 1
uint atomic_dec (uint *p);
uint atomic_inc (uint *p);
u32 atomic_dec (u32 *p);
u32 atomic_inc (u32 *p);
size_t get_global_id (uint dimindx __attribute__((unused)));
size_t get_local_id (uint dimindx __attribute__((unused)));
size_t get_local_size (uint dimindx __attribute__((unused)));
size_t get_global_id (u32 dimindx __attribute__((unused)));
size_t get_local_id (u32 dimindx __attribute__((unused)));
size_t get_local_size (u32 dimindx __attribute__((unused)));
#endif // _CPU_OPENCL_EMU_H

View File

@ -17,17 +17,17 @@ u32 atomic_inc (u32 *p)
return *p++;
}
size_t get_global_id (uint dimindx __attribute__((unused)))
size_t get_global_id (u32 dimindx __attribute__((unused)))
{
return 0;
}
size_t get_local_id (uint dimindx __attribute__((unused)))
size_t get_local_id (u32 dimindx __attribute__((unused)))
{
return 0;
}
size_t get_local_size (uint dimindx __attribute__((unused)))
size_t get_local_size (u32 dimindx __attribute__((unused)))
{
return 0;
}