From 66b2783a5b9f44b752a7cc74aca4f091aaf2518a Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Tue, 19 Nov 2013 22:46:02 +0100 Subject: [PATCH] libdvbv5: Fix compiler warning about signedness Signed-off-by: Gregor Jasny --- lib/libdvbv5/descriptors/desc_atsc_service_location.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/descriptors/desc_atsc_service_location.c b/lib/libdvbv5/descriptors/desc_atsc_service_location.c index 822259e..82008f9 100644 --- a/lib/libdvbv5/descriptors/desc_atsc_service_location.c +++ b/lib/libdvbv5/descriptors/desc_atsc_service_location.c @@ -27,7 +27,7 @@ void atsc_desc_service_location_init(struct dvb_v5_fe_parms *parms, { struct atsc_desc_service_location *s_loc = (struct atsc_desc_service_location *)desc; struct atsc_desc_service_location_elementary *el; - unsigned char *p = (char *) buf; + const uint8_t *p = buf; int i; size_t len; @@ -82,4 +82,4 @@ void atsc_desc_service_location_free(struct dvb_desc *desc) if (s_loc->elementary) free(s_loc->elementary); -} \ No newline at end of file +} -- 2.7.4