Fixed some warnings

This commit is contained in:
Cooper Hall
2023-03-11 23:25:26 +00:00
committed by Adam Honse
parent b0b20b9f06
commit 45be4329c5
10 changed files with 29 additions and 31 deletions

View File

@@ -1264,7 +1264,7 @@ void ResourceManager::DetectDevicesThreadFunction()
| Load the libhidapi-libusb library |
\*-------------------------------------------------*/
#ifdef __GLIBC__
if(dyn_handle = dlopen("libhidapi-libusb.so", RTLD_NOW | RTLD_NODELETE | RTLD_DEEPBIND))
if((dyn_handle = dlopen("libhidapi-libusb.so", RTLD_NOW | RTLD_NODELETE | RTLD_DEEPBIND)))
#else
if(dyn_handle = dlopen("libhidapi-libusb.so", RTLD_NOW | RTLD_NODELETE ))
#endif