summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/split.c')
-rw-r--r--src/tools/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/split.c b/src/tools/split.c
index e0d3b774965..b8db5aa9661 100644
--- a/src/tools/split.c
+++ b/src/tools/split.c
@@ -42,7 +42,7 @@ static void compute_hash_as_string(astring *buffer, void *data, UINT32 length)
// compute the SHA1
sha1_init(&sha1);
- sha1_update(&sha1, length, data);
+ sha1_update(&sha1, length, (const UINT8 *)data);
sha1_final(&sha1);
sha1_digest(&sha1, sizeof(sha1digest), sha1digest);