1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 19:58:25 +00:00

Fix clang warning on OSX

This commit is contained in:
Gabriele Gristina 2016-11-13 12:56:04 +01:00
parent b21bc12157
commit dff72bbfb3

View File

@ -26,10 +26,12 @@
#include "dynloader.h"
#include "opencl.h"
#if defined (__linux__)
static const char dri_card0_path[] = "/dev/dri/card0";
static const char drm_card0_vendor_path[] = "/sys/class/drm/card0/device/vendor";
static const char drm_card0_driver_path[] = "/sys/class/drm/card0/device/driver";
#endif
static const u32 full01 = 0x01010101;
static const u32 full80 = 0x80808080;