opnsense-ports/security/steghide/files/patch-MHashPP.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
398 B
C++

--- src/MHashPP.cc.orig 2013-06-11 10:25:36.000000000 +0200
+++ src/MHashPP.cc 2013-06-11 10:29:34.000000000 +0200
@@ -121,7 +121,7 @@
std::string MHashPP::getAlgorithmName (hashid id)
{
- char *name = mhash_get_hash_name (id) ;
+ char *name = reinterpret_cast<char *>(mhash_get_hash_name (id)) ;
std::string retval ;
if (name == NULL) {
retval = std::string ("<algorithm not found>") ;