We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b65d6 commit 700888fCopy full SHA for 700888f
src/coreclr/utilcode/md5.cpp
@@ -147,7 +147,7 @@ void MD5::GetHashValue(MD5HASHDATA* phash)
147
#elif __has_builtin(__builtin_rotateleft)
148
#define ROTATE_LEFT(x, n) ((x) = __builtin_rotateleft(x, n))
149
#else
150
- #define ROTATE_LEFT(x, n) ((x) = ((x << (n)) | (x >> ((sizeof(x) * 8 - 1) & -(n)))))
+ #define ROTATE_LEFT(x, n) ((x) = ((x << (n)) | (x >> (sizeof(x) * 8 - (n)))))
151
#endif
152
153
////////////////////////////////////////////////////////////////
0 commit comments