# HG changeset patch # User Simon Josefsson # Date 1128524334 0 # Node ID f563b75e0dcf6804c378b395fc29381cd76bc884 # Parent 7eaa3cbec8e5ac0fdb737a11ffae5411bd6f9ce1 * memxor.c (memxor): Fix compiler error. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,5 +1,7 @@ 2005-10-05 Simon Josefsson + * memxor.c (memxor): Fix compiler error. + * md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also . diff --git a/lib/memxor.c b/lib/memxor.c --- a/lib/memxor.c +++ b/lib/memxor.c @@ -30,7 +30,7 @@ char *d = dest; for (; n > 0; n--) - *d++ ^= *src++; + *(char*)d++ ^= *(char*)src++; return dest; }