openbsd-ports/security/steghide/patches/patch-src_MHashPP_cc

13 lines
468 B
Plaintext

$OpenBSD: patch-src_MHashPP_cc,v 1.1 2008/09/12 14:28:06 naddy Exp $
--- src/MHashPP.cc.orig Fri Sep 12 16:24:21 2008
+++ src/MHashPP.cc Fri Sep 12 16:24:38 2008
@@ -120,7 +120,7 @@ std::string MHashPP::getAlgorithmName ()
std::string MHashPP::getAlgorithmName (hashid id)
{
- char *name = mhash_get_hash_name (id) ;
+ char *name = (char *)mhash_get_hash_name (id) ;
std::string retval ;
if (name == NULL) {
retval = std::string ("<algorithm not found>") ;