fix the fix

This commit is contained in:
Arvid Norberg 2012-02-16 08:51:14 +00:00
parent b2ede2665b
commit d7d4da5b80
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ namespace libtorrent
un /= 10;
} while (un);
if (n < 0) *--p = '-';
std::memmove(&ret[0], p, &ret.back() - p);
std::memmove(&ret[0], p, &ret.back() - p + 1);
return ret;
}