forked from premiere/premiere-libtorrent
initialize bencoded ints with zero when constructed
This commit is contained in:
parent
5383854768
commit
1dc8c1c127
|
@ -519,7 +519,7 @@ namespace {
|
|||
switch (t)
|
||||
{
|
||||
case int_t:
|
||||
new (&data) integer_type;
|
||||
new (&data) integer_type(0);
|
||||
break;
|
||||
case string_t:
|
||||
new (&data) string_type;
|
||||
|
|
Loading…
Reference in New Issue