libdvbv5: Fix compiler warning about signedness
authorGregor Jasny <gjasny@googlemail.com>
Tue, 19 Nov 2013 21:46:02 +0000 (22:46 +0100)
committerGregor Jasny <gjasny@googlemail.com>
Tue, 19 Nov 2013 21:46:02 +0000 (22:46 +0100)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
lib/libdvbv5/descriptors/desc_atsc_service_location.c

index 822259e..82008f9 100644 (file)
@@ -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
+}