reopen 354206 !
retitle 354206 libmhash-dev: mhash_get_hash_name invalid conversion
severity 354206 normal
tags 354206 = upstream
stop


Using libmhash-dev 0.9.7-1 in a simple C++ test file on Etch, I get the error
Daniel Schepler reported when he tried to build steghide:

mhash-md5.cpp:42: error: invalid conversion from ‘uint8_t*’ to ‘char*’

This is line 42:

char * name = mhash_get_hash_name(MHASH_MD5);

The changelog for mhash at 0.9.6-1 mentions this bug was introduced upstream. It
and later changelog entries do not say this bug is closed, so I am reopening it.
I haven't found the upstream report to point this bug at.

I downloaded the latest upstream package, mhash-0.9.9 with changelog entries to
2007-04-02 12:00. It's documentation still claims that mhash_get_hash_name
returns a char *, yet it's return type is mutils_word8 * which is a typedef to
unsigned char.

I am re-opening this bug and setting the reporter to myself since I am able to
reproduce it with simple code compiled with gcc 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21) and the steghide package started building for Daniel so his
concern in the matter has been resolved.

--
Jacob





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to