Kaydet (Commit) 780f5bf5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Presumably the intent is to zero the whole pHexTable, not just the 1st element

üst 2b26a54e
......@@ -65,7 +65,7 @@ XBMReader::~XBMReader()
void XBMReader::InitTable()
{
memset( pHexTable, 0, sizeof( short ) );
memset( pHexTable, 0, sizeof( short ) * 256 );
pHexTable[(int)'0'] = 0;
pHexTable[(int)'1'] = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment