]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
gpu_sysman: fix ras_submit() argument type
authorEero Tamminen <eero.t.tamminen@intel.com>
Wed, 21 Feb 2024 14:02:34 +0000 (16:02 +0200)
committerMatthias Runge <mrunge@matthias-runge.de>
Tue, 14 May 2024 15:40:45 +0000 (17:40 +0200)
Reported-By: Florian Foster
Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
src/gpu_sysman.c

index eaacb5685d40fe6398b207e9425613c71263f852..3533c50c00562c2c10094b2d9a12c88cfd2d8a35 100644 (file)
@@ -992,7 +992,7 @@ static void gpu_submit(gpu_device_t *gpu, metric_family_t *fam) {
 /* because of family name change, each RAS metric needs to be submitted +
  * reseted separately */
 static void ras_submit(gpu_device_t *gpu, const char *name, const char *help,
-                       const char *type, const char *subdev, double value) {
+                       const char *type, const char *subdev, uint64_t value) {
   metric_family_t fam = {
       .type = METRIC_TYPE_COUNTER,
       /*