Skip to content

Commit

Permalink
Fix issue #3 - Change position and matchCount from uint8 to uint16 to…
Browse files Browse the repository at this point in the history
… allow parsing data longer than 255 chars
  • Loading branch information
tmittet committed Nov 5, 2017
1 parent 3e792c8 commit 1bce94f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/MicroXPath.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class MicroXPath {
uint8_t checksum;
#endif
uint8_t level;
uint8_t position;
uint8_t matchCount;
uint16_t position;
uint16_t matchCount;
uint8_t matchLevel;

bool find(char charToParse /* , const char *attributeName, const char *attributeValue */);
Expand Down
4 changes: 2 additions & 2 deletions src/MicroXPath_P.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class MicroXPath_P {
uint8_t checksum;
#endif
uint8_t level;
uint8_t position;
uint8_t matchCount;
uint16_t position;
uint16_t matchCount;
uint8_t matchLevel;

bool find(char charToParse /* , const char *attributeName, const char *attributeValue */);
Expand Down

0 comments on commit 1bce94f

Please sign in to comment.