Skip to content

Commit 41f6a45

Browse files
authored
Merge pull request #8792 from Temtaime/Temtaime-patch-1
Use size_t instead of uint for data indexing, because it hangs with f…
2 parents 36e9775 + f73555b commit 41f6a45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

std/digest/md.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ struct MD5
295295
*/
296296
void put(scope const(ubyte)[] data...) @trusted pure nothrow @nogc
297297
{
298-
uint i, index, partLen;
298+
size_t i;
299+
uint index, partLen;
299300
auto inputLen = data.length;
300301

301302
//Compute number of bytes mod 64

0 commit comments

Comments
 (0)