mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 18:00:21 +08:00
1c9b23ba2b
* Initial commit * clean up * updated manifest and version * Removed C++11 mapping option (feature) and made C++11 the default mapping. * updated version * added main target added entries to ci.baseline.txt * corrected ci.baseline.txt entries * updated version * fixed generated header path * Updated version * fixed include paths * updated version * expect x64-windows-static to fail * added patches for clang 13 * update version * Update ports/zeroc-ice/portfile.cmake Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * 2->4 spaces * Removed v144/5 stuff * check for .DS_Store file before deletion * several changes * format vcpkg.json * update version * remove typo * updated version * reformatting * resolve review issues * regex * updated version * windows-static * allow static builds on windows and added maintainer * updated version * added openssl as a dependency for Ice core library * updated version * minor updates Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
22 lines
719 B
Diff
22 lines
719 B
Diff
diff --git a/cpp/src/Slice/MD5I.cpp b/cpp/src/Slice/MD5I.cpp
|
|
index 66f4de545b..271352d1ea 100644
|
|
--- a/cpp/src/Slice/MD5I.cpp
|
|
+++ b/cpp/src/Slice/MD5I.cpp
|
|
@@ -52,6 +52,7 @@
|
|
*/
|
|
|
|
#include <Slice/MD5I.h>
|
|
+#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#ifdef __GNUC__
|
|
@@ -172,7 +173,7 @@ md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
|
|
* On little-endian machines, we can process properly aligned
|
|
* data without copying it.
|
|
*/
|
|
- if (!((data - (const md5_byte_t *)0) & 3)) {
|
|
+ if (!((reinterpret_cast<uintptr_t>(data)) & 3)) {
|
|
/* data are properly aligned */
|
|
X = (const md5_word_t *)data;
|
|
} else {
|