mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e3215123d1
commit
22bfc4936f
6 changed files with 18 additions and 18 deletions
2
uemis.c
2
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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue