1
0

Fixed CreateHexDump's signedness.

This commit is contained in:
madmaxoft
2014-04-04 10:42:17 +02:00
parent 5dee19648d
commit e1f75ab6d0
3 changed files with 11 additions and 11 deletions

View File

@@ -216,7 +216,7 @@ protected:
{
// A 32-bit integer can be encoded by at most 5 bytes:
unsigned char b[5];
int idx = 0;
size_t idx = 0;
do
{
b[idx] = (a_Value & 0x7f) | ((a_Value > 0x7f) ? 0x80 : 0x00);