1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Fix shift in enum vendor_id

This commit is contained in:
Gabriele Gristina 2019-06-29 17:52:56 +02:00
parent 079156925a
commit 3350b17511

View File

@ -160,15 +160,15 @@ typedef enum amplifier_count
typedef enum vendor_id
{
VENDOR_ID_AMD = (1 << 0),
VENDOR_ID_APPLE = (1 << 1),
VENDOR_ID_INTEL_BEIGNET = (1 << 2),
VENDOR_ID_INTEL_SDK = (1 << 3),
VENDOR_ID_MESA = (1 << 4),
VENDOR_ID_NV = (1 << 5),
VENDOR_ID_POCL = (1 << 6),
VENDOR_ID_AMD_USE_INTEL = (1 << 7),
VENDOR_ID_GENERIC = (1 << 31)
VENDOR_ID_AMD = (1U << 0),
VENDOR_ID_APPLE = (1U << 1),
VENDOR_ID_INTEL_BEIGNET = (1U << 2),
VENDOR_ID_INTEL_SDK = (1U << 3),
VENDOR_ID_MESA = (1U << 4),
VENDOR_ID_NV = (1U << 5),
VENDOR_ID_POCL = (1U << 6),
VENDOR_ID_AMD_USE_INTEL = (1U << 7),
VENDOR_ID_GENERIC = (1U << 31)
} vendor_id_t;