Skip to content

Commit

Permalink
fix a comment in UA_DataType_isNumeric
Browse files Browse the repository at this point in the history
  • Loading branch information
StalderT authored and Pro committed Nov 8, 2018
1 parent 9ace34e commit 75dab12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ua_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75dab12

Please sign in to comment.