fix for non-default unsigned char

This commit is contained in:
john30
2015-02-25 21:59:13 +01:00
parent f4f2bbe2a6
commit 382f7e175d
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -409,7 +409,7 @@ void SingleDataField::dump(ostream& output)
result_t SingleDataField::read(const PartType partType,
SymbolString& data, unsigned char offset,
ostringstream& output, bool leadingSeparator,
bool verbose, const char* fieldName, char fieldIndex,
bool verbose, const char* fieldName, signed char fieldIndex,
char separator)
{
if (partType != m_partType)
@@ -1196,7 +1196,7 @@ void DataFieldSet::dump(ostream& output)
result_t DataFieldSet::read(const PartType partType,
SymbolString& data, unsigned char offset,
ostringstream& output, bool leadingSeparator,
bool verbose, const char* fieldName, char fieldIndex,
bool verbose, const char* fieldName, signed char fieldIndex,
char separator)
{
bool previousFullByteOffset = true, found = false, findFieldIndex = fieldName != NULL && fieldIndex >= 0;