From: SourceForge.net <no...@so...> - 2005-06-10 19:19:04
|
Bugs item #1185980, was opened at 2005-04-19 09:59 Message generated for change (Comment added) made by akuchling You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1185980&group_id=20937 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Mihai Ibanescu (misa) >Assigned to: A.M. Kuchling (akuchling) Summary: RIPEMD does not work on amd64 Initial Comment: The problem is in RIPEMD.c: #ifdef __alpha__ typedef unsigned int word; /* unsigned 32-bit integer */ #else typedef unsigned long word; /* unsigned 32-bit integer */ #endif The way I patched it was: #include <inttypes.h> typedef uint32_t word; /* unsigned 32-bit integer */ As long as your compiler is C99 compliant, this should work just fine. ---------------------------------------------------------------------- >Comment By: A.M. Kuchling (akuchling) Date: 2005-06-10 15:19 Message: Logged In: YES user_id=11375 I've applied a slightly modified version of the patch, checking for __amd64__ to use uint32_t; I don't know how common C99-compliant compilers are. Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=120937&aid=1185980&group_id=20937 |