From: Flole998 Date: Tue, 7 Sep 2021 17:14:14 +0000 (+0200) Subject: Revert "Remove unnecessary conversion" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fc2dfa7e1b1b3b1e8ba6f78cd4a81f77fa6a736;p=thirdparty%2Ftvheadend.git Revert "Remove unnecessary conversion" This reverts commit 7757f066582bdb244c56e658c4a99f8e1d5832cd. --- diff --git a/src/access.c b/src/access.c index 4422db912..1b0289a35 100644 --- a/src/access.c +++ b/src/access.c @@ -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]); }