Forráskód Böngészése

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

Julius Pfrommer 4 éve
szülő
commit
cfb67351a8
1 módosított fájl, 2 hozzáadás és 2 törlés
  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