diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-02-10 09:56:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 09:56:44 +0200 |
commit | 8df421378ecfca6525ef07a2a9c37e1161f65f54 (patch) | |
tree | d0262141d6f198f998caa305d0c62b11b43ad0e9 /database/engine/rrdengineapi.c | |
parent | 6db6daca180d795bf839ef93f34a049b3a242dcd (diff) |
Fix coverity issues (#14480)
* Fix coverity issues
382921
382924
382927
382928
382932
382933
382950
382990
383123
382952
382906
382908
382912
382914
382917
382918
382919
* 381508 Unchecked return value
* 382965 Dereference after null check
Diffstat (limited to 'database/engine/rrdengineapi.c')
-rwxr-xr-x | database/engine/rrdengineapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/engine/rrdengineapi.c b/database/engine/rrdengineapi.c index 08eb0396cd..3d8b6a90cd 100755 --- a/database/engine/rrdengineapi.c +++ b/database/engine/rrdengineapi.c @@ -371,7 +371,7 @@ static void rrdeng_store_metric_create_new_page(struct rrdeng_collect_handle *ha .end_time_s = point_in_time_s, .size = data_size, .data = data, - .update_every_s = update_every_s, + .update_every_s = (uint32_t) update_every_s, .hot = true }; |