]> granicus.if.org Git - curl/commitdiff
curlver.h: use parenthesis in CURL_VERSION_BITS macro
authorTseng Jun <6501202@qq.com>
Sun, 28 Apr 2019 07:25:15 +0000 (15:25 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 28 Apr 2019 09:20:22 +0000 (11:20 +0200)
Closes #3809

include/curl/curlver.h

index 8400826ba61e0da75b38afc45671a9ed97df4ca6..bca53cb6b84e0deb3d863dd6de2b40891fdf4e22 100644 (file)
@@ -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))