From 47b7add270aceb7865908e1ce0b4b4f09be118fa Mon Sep 17 00:00:00 2001 From: midipix Date: Jul 06 2018 11:55:14 +0000 Subject: slibtool.h: #define SLBT_DRIVER_XFLAG more robustly. --- diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index c01c0e3..cc795bb 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -26,7 +26,7 @@ extern "C" { #define SLBT_ERROR 0x02 /* driver flags */ -#define SLBT_DRIVER_XFLAG(x) ((uint64_t)x << 32) +#define SLBT_DRIVER_XFLAG(x) ((uint64_t)(x) << 32) #define SLBT_DRIVER_VERBOSITY_NONE 0x0000 #define SLBT_DRIVER_VERBOSITY_ERRORS 0x0001