Browse Source

fix a comment in UA_DataType_isNumeric

StalderT 6 years ago
parent
commit
75dab12647
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ua_types.c

+ 1 - 1
src/ua_types.c

@@ -1096,7 +1096,7 @@ UA_Array_delete(void *p, size_t size, const UA_DataType *type) {
 
 UA_Boolean
 UA_DataType_isNumeric(const UA_DataType *type) {
-    /* All data types between UA_TYPES_SBYTE and UA_TYPES_DOUBLE are numeric */
+    /* All data types between UA_TYPES_BOOLEAN and UA_TYPES_DOUBLE are numeric */
     for(size_t i = UA_TYPES_BOOLEAN; i <= UA_TYPES_DOUBLE; ++i)
         if(&UA_TYPES[i] == type)
             return true;