Unverified Commit 2fe2da9f authored by Tseng Jun's avatar Tseng Jun Committed by Daniel Stenberg
Browse files

curlver.h: use parenthesis in CURL_VERSION_BITS macro

Closes #3809
parent dc5ac786
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@
 */
#define LIBCURL_TIMESTAMP "[unreleased]"

#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z)
#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))
#define CURL_AT_LEAST_VERSION(x,y,z) \
  (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))