Skip to content

Commit 700888f

Browse files
authored
Update src/coreclr/utilcode/md5.cpp
1 parent 81b65d6 commit 700888f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/utilcode/md5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void MD5::GetHashValue(MD5HASHDATA* phash)
147147
#elif __has_builtin(__builtin_rotateleft)
148148
#define ROTATE_LEFT(x, n) ((x) = __builtin_rotateleft(x, n))
149149
#else
150-
#define ROTATE_LEFT(x, n) ((x) = ((x << (n)) | (x >> ((sizeof(x) * 8 - 1) & -(n)))))
150+
#define ROTATE_LEFT(x, n) ((x) = ((x << (n)) | (x >> (sizeof(x) * 8 - (n)))))
151151
#endif
152152

153153
////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)