Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / steghide / patches / patch-aj
blobf293dde6138e09f82a554914de7eec676a1d106f
1 $NetBSD$
3 --- src/MHashPP.cc      2003-10-05 11:17:50.000000000 +0100
4 +++ src/MHashPP.cc      2007-10-02 08:39:47.000000000 +0100
5 @@ -21,6 +21,8 @@
6  #include <cstdlib>
7  #include <string>
8  
9 +#define _Bool   bool
11  #include <mhash.h>
13  #include "BitString.h"
14 @@ -120,7 +122,7 @@
16  std::string MHashPP::getAlgorithmName (hashid id)
17  {
18 -       char *name = mhash_get_hash_name (id) ;
19 +       char *name = (char *)mhash_get_hash_name (id) ;
20         std::string retval ;
21         if (name == NULL) {
22                 retval = std::string ("<algorithm not found>") ;