瀏覽代碼

fix(core): Fix the definition of int64 min/max

Julius Pfrommer 4 年之前
父節點
當前提交
cfb67351a8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/open62541/types.h

+ 2 - 2
include/open62541/types.h

@@ -112,8 +112,8 @@ typedef int64_t UA_Int64;
  * ^^^^^^
  * An integer value between 0 and 18 446 744 073 709 551 615. */
 typedef uint64_t UA_UInt64;
-#define UA_UINT64_MIN (int64_t)0
-#define UA_UINT64_MAX (int64_t)18446744073709551615
+#define UA_UINT64_MIN (uint64_t)0
+#define UA_UINT64_MAX (uint64_t)18446744073709551615
 
 /**
  * Float