Parcourir la source

fixing docu, fixes #383

Stasik0 il y a 9 ans
Parent
commit
fd181702dc
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      doc/tutorial_client_firstSteps.rst
  2. 1 1
      include/ua_types.h

+ 1 - 1
doc/tutorial_client_firstSteps.rst

@@ -155,7 +155,7 @@ Let us extend the client with with an action reading node's value:
          UA_Variant_isScalar(&rResp.results[0].value) &&
          rResp.results[0].value.type == &UA_TYPES[UA_TYPES_DATETIME]) {
              raw_date = *(UA_DateTime*)rResp.results[0].value.data;
-             printf("raw date is: %llu\n", raw_date);
+             printf("raw date is: %" PRId64 "\n", raw_date);
       }
       
       UA_ReadRequest_deleteMembers(&rReq);

+ 1 - 1
include/ua_types.h

@@ -31,7 +31,7 @@ typedef bool UA_Boolean;
 #define UA_TRUE true
 #define UA_FALSE false
 
-/** @brief An integer value between -129 and 127. */
+/** @brief An integer value between -128 and 127. */
 typedef int8_t UA_SByte;
 #define UA_SBYTE_MAX 127
 #define UA_SBYTE_MIN -128