From 22bfc4936fd587e166f0e212eeb388db41426fd7 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 28 May 2015 14:59:08 +0200 Subject: Add explicit casts to silence compiler warnings clang complais when converting (char *) to (unsigned char *), so tell it it's fine. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- uemis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uemis.c') diff --git a/uemis.c b/uemis.c index b2eda8f73..e60e94a00 100644 --- a/uemis.c +++ b/uemis.c @@ -90,7 +90,7 @@ static int uemis_convert_base64(char *base64, uint8_t **data) fprintf(stderr, "Out of memory\n"); goto bail; } - decode(base64, *data, len); + decode((unsigned char *)base64, *data, len); if (memcmp(*data, "Dive\01\00\00", 7)) fprintf(stderr, "Missing Dive100 header\n"); -- cgit v1.2.3-70-g09d2