mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Merge pull request #8792 from Temtaime/Temtaime-patch-1
Use size_t instead of uint for data indexing, because it hangs with f…
This commit is contained in:
commit
41f6a45d28
1 changed files with 2 additions and 1 deletions
|
@ -295,7 +295,8 @@ struct MD5
|
|||
*/
|
||||
void put(scope const(ubyte)[] data...) @trusted pure nothrow @nogc
|
||||
{
|
||||
uint i, index, partLen;
|
||||
size_t i;
|
||||
uint index, partLen;
|
||||
auto inputLen = data.length;
|
||||
|
||||
//Compute number of bytes mod 64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue