From c4971f62a3dc8cddf0022ec0fb37c74f32123f2c Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sun, 23 Sep 2012 11:38:45 +0100 Subject: [PATCH] Correct a couple of type usage errors in HTSP. --- src/htsp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/htsp.c b/src/htsp.c index 91011c27..fd5061ed 100644 --- a/src/htsp.c +++ b/src/htsp.c @@ -427,8 +427,8 @@ htsp_build_dvrentry(dvr_entry_t *de, const char *method) htsmsg_add_u32(out, "id", de->de_id); htsmsg_add_u32(out, "channel", de->de_channel->ch_id); - htsmsg_add_s32(out, "start", de->de_start); - htsmsg_add_s32(out, "stop", de->de_stop); + htsmsg_add_s64(out, "start", de->de_start); + htsmsg_add_s64(out, "stop", de->de_stop); if( de->de_title && (s = lang_str_get(de->de_title, NULL))) htsmsg_add_str(out, "title", s); @@ -497,8 +497,8 @@ htsp_build_event htsmsg_add_u32(out, "eventId", e->id); htsmsg_add_u32(out, "channelId", e->channel->ch_id); - htsmsg_add_u32(out, "start", e->start); - htsmsg_add_u32(out, "stop", e->stop); + htsmsg_add_s64(out, "start", e->start); + htsmsg_add_s64(out, "stop", e->stop); if ((str = epg_broadcast_get_title(e, lang))) htsmsg_add_str(out, "title", str); if ((str = epg_broadcast_get_description(e, lang)))