0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-31 00:13:01 +08:00

Fix Borland C++ compilation errors/warnings

git-svn-id: https://pugixml.googlecode.com/svn/trunk@1055 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
Arseny Kapoulkine 2014-10-10 02:22:49 +00:00
parent 9e6dcc292d
commit d69127d78e

View File

@ -7366,7 +7366,7 @@ PUGI__NS_BEGIN
PUGI__FN unsigned char* translate_table_generate(xpath_allocator* alloc, const char_t* from, const char_t* to)
{
unsigned char table[128] = {};
unsigned char table[128] = {0};
while (*from)
{
@ -7377,7 +7377,7 @@ PUGI__NS_BEGIN
return 0;
if (!table[fc])
table[fc] = tc ? static_cast<unsigned char>(tc) : 128;
table[fc] = static_cast<unsigned char>(tc ? tc : 128);
from++;
if (tc) to++;