summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/split.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
commit71c4d9f30460914a6823880e88e446799ecfe30f (patch)
tree4718c76a34a5aa2c160c381ab13cf1fa5cca99d7 /src/tools/split.c
parent337342a4c650f38d286a3347b670fbc7ee2c343f (diff)
removed bool conversion and implicit empty check (nw)
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 4e3d93c8bb8..8f598064ffd 100644
--- a/src/tools/split.c
+++ b/src/tools/split.c
@@ -318,7 +318,7 @@ static int join_file(const char *filename, const char *outname, int write_output
compute_hash_as_string(computedhash, splitbuffer, length);
// compare
- if (computedhash != expectedhash)
+ if (computedhash.cmp(expectedhash)!=0)
{
printf("\n");
fprintf(stderr, "Fatal error: file '%s' has incorrect hash\n Expected: %s\n Computed: %s\n", infilename.c_str(), expectedhash.c_str(), computedhash.c_str());