bengardner/uncrustify — pull request #64 by meyering (2012-04-01 17:13:45+00:00)
Title: avoid gcc's type-punned pointer warnings

Hi Ben,

Building with gcc, I see only these two warnings, so wrote the patch:

md5.cpp: In member function 'void MD5::Final(UINT8*)':
md5.cpp:206:23: warning: dereferencing type-punned pointer \
will break strict-aliasing rules [-Wstrict-aliasing]
md5.cpp:207:23: warning: dereferencing type-punned pointer \
will break strict-aliasing rules [-Wstrict-aliasing]

The fix is to use memcpy rather than a type-punning assignment.