summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-06 07:55:14 -0400
committermidipix <writeonce@midipix.org>2018-07-06 07:55:14 -0400
commit47b7add270aceb7865908e1ce0b4b4f09be118fa (patch)
treebafed57aad639edc2565aa285417ee6a6846d2bb /include
parent86b72fced0091f9eb01b95dc7e8ef050fc5c4cc3 (diff)
downloadslibtool-47b7add270aceb7865908e1ce0b4b4f09be118fa.tar.bz2
slibtool-47b7add270aceb7865908e1ce0b4b4f09be118fa.tar.xz
slibtool.h: #define SLBT_DRIVER_XFLAG more robustly.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h2
1 files changed, 1 insertions, 1 deletions
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