Browse Source

trivial fix of data type (duration is typedefed as double)

Thomas Bender 6 years ago
parent
commit
04fe779360
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/ua_config_default.c

+ 1 - 1
plugins/ua_config_default.c

@@ -39,7 +39,7 @@ UA_UINT32RANGE(UA_UInt32 min, UA_UInt32 max) {
 }
 
 static UA_INLINE UA_DurationRange
-UA_DURATIONRANGE(UA_Double min, UA_Double max) {
+UA_DURATIONRANGE(UA_Duration min, UA_Duration max) {
     UA_DurationRange range = {min, max};
     return range;
 }