summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-08-19 04:58:54 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-08-19 04:58:54 +0000
commit03d5253dcab9149fa1b49f48b07261b7a457260c (patch)
treec435d692a647d182c47def671fbf712aea1354c5 /src/tools
parent185e124797d39d41ae9df38da22fedb8c2a7b324 (diff)
Added some missing casts and other minor tweaks.
Diffstat (limited to 'src/tools')
-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);