浏览代码

add parenthesis around define value

JacobBarthelmeh 2 月之前
父节点
当前提交
dd6db025e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wolfssl/quic.h

+ 1 - 1
wolfssl/quic.h

@@ -296,7 +296,7 @@ int wolfSSL_quic_hkdf(uint8_t* dest, size_t destlen,
  * read from the wire sane */
  * read from the wire sane */
 #ifndef WOLFSSL_QUIC_MAX_RECORD_CAPACITY
 #ifndef WOLFSSL_QUIC_MAX_RECORD_CAPACITY
     /* 1024*1024 -- 1 MB */
     /* 1024*1024 -- 1 MB */
-    #define WOLFSSL_QUIC_MAX_RECORD_CAPACITY 1048576
+    #define WOLFSSL_QUIC_MAX_RECORD_CAPACITY (1048576)
 #endif
 #endif
 
 
 #endif /* WOLFSSL_QUIC */
 #endif /* WOLFSSL_QUIC */