]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Revert "Remove unnecessary conversion"
authorFlole998 <Flole998@users.noreply.github.com>
Tue, 7 Sep 2021 17:14:14 +0000 (19:14 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Tue, 7 Sep 2021 17:14:59 +0000 (19:14 +0200)
This reverts commit 7757f066582bdb244c56e658c4a99f8e1d5832cd.

src/access.c

index 4422db9122fdd794dca40d471aaeb080d3ef2147..1b0289a352949b5a26c0a0d316c12b67bc689a17 100644 (file)
@@ -524,9 +524,9 @@ access_dump_a(access_t *a)
 
   if (a->aa_chrange) {
     for (first = 0; first < a->aa_chrange_count; first += 2)
-      tvh_strlcatf(buf, sizeof(buf), l, ", [chmin=%lu, chmax=%lu]",
-                   a->aa_chrange[first],
-                   a->aa_chrange[first+1]);
+      tvh_strlcatf(buf, sizeof(buf), l, ", [chmin=%llu, chmax=%llu]",
+                   (long long)a->aa_chrange[first],
+                   (long long)a->aa_chrange[first+1]);
   }