mirror of https://github.com/adamdruppe/arsd.git
Merge branch 'master' of github.com:adamdruppe/arsd
This commit is contained in:
commit
4dbaa96c95
2
http2.d
2
http2.d
|
@ -4190,7 +4190,7 @@ public {
|
||||||
if(d.length < 8) return needsMoreData();
|
if(d.length < 8) return needsMoreData();
|
||||||
|
|
||||||
foreach(i; 0 .. 8) {
|
foreach(i; 0 .. 8) {
|
||||||
msg.realLength |= d[0] << ((7-i) * 8);
|
msg.realLength |= ulong(d[0]) << ((7-i) * 8);
|
||||||
d = d[1 .. $];
|
d = d[1 .. $];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue