diff options
-rw-r--r-- | lib/cmyth/libcmyth/proginfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cmyth/libcmyth/proginfo.c b/lib/cmyth/libcmyth/proginfo.c index a4b7b41a47..b175637ca9 100644 --- a/lib/cmyth/libcmyth/proginfo.c +++ b/lib/cmyth/libcmyth/proginfo.c @@ -478,9 +478,9 @@ delete_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd) sprintf(buf + strlen(buf), "%s[]:[]", end_ts); if (control->conn_version < 57) { sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_unknown_0)); // "duplicate" - sprintf(buf + strlen(buf), "%ld[]:[]", 0); // "shareable" + sprintf(buf + strlen(buf), "%ld[]:[]", 0L); // "shareable" } - sprintf(buf + strlen(buf), "%ld[]:[]", 0); // "findid" + sprintf(buf + strlen(buf), "%ld[]:[]", 0L); // "findid" sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_hostname)); sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_source_id); sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_card_id); @@ -1352,9 +1352,9 @@ fill_command(cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd) sprintf(buf + strlen(buf), "%s[]:[]", end_ts); if (control->conn_version < 57) { sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_unknown_0)); // "duplicate" - sprintf(buf + strlen(buf), "%ld[]:[]", 0); // "shareable" + sprintf(buf + strlen(buf), "%ld[]:[]", 0L); // "shareable" } - sprintf(buf + strlen(buf), "%ld[]:[]", 0); // "findid" + sprintf(buf + strlen(buf), "%ld[]:[]", 0L); // "findid" sprintf(buf + strlen(buf), "%s[]:[]", S(prog->proginfo_hostname)); sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_source_id); sprintf(buf + strlen(buf), "%ld[]:[]", prog->proginfo_card_id); |