]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
prop.c: fix const qualifier warning in prop_write_values
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Tue, 5 May 2026 11:30:34 +0000 (11:30 +0000)
committerFlole <Flole998@users.noreply.github.com>
Tue, 5 May 2026 15:27:44 +0000 (17:27 +0200)
Agent-Logs-Url: https://github.com/tvheadend/tvheadend/sessions/1de0ed71-e0c2-4820-937a-30c7f61f9972

Co-authored-by: Flole998 <9951871+Flole998@users.noreply.github.com>
src/prop.c

index b1e87ccbd7a73a19476befb9fed1a2aeed0eab63..e4047292c7b421341a36e03c2b6436daa39cead0 100644 (file)
@@ -146,7 +146,7 @@ prop_write_values
       }
       case PT_U32: {
         if (p->intextra && INTEXTRA_IS_SPLIT(p->intextra)) {
-          char *s;
+          const char *s;
           if (!(snew = htsmsg_field_get_str(f)))
             continue;
           u32 = atol(snew) * p->intextra;