Skip to content

Commit

Permalink
Minor bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim2266 committed Oct 16, 2015
1 parent 5a82041 commit e1e58dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ const char* find_soh(const char* s)
if((t & 0xFFul) == 1ul) return s + 2;
t >>= 8;
if((t & 0xFFul) == 1ul) return s + 3;
#if __SIZEOF_LONG__ > 4
t >>= 8;
if((t & 0xFFul) == 1ul) return s + 4;
t >>= 8;
Expand All @@ -255,6 +256,7 @@ const char* find_soh(const char* s)
if((t & 0xFFul) == 1ul) return s + 6;
t >>= 8;
if((t & 0xFFul) == 1ul) return s + 7;
#endif
s += sizeof(unsigned long);
}

Expand Down

0 comments on commit e1e58dc

Please sign in to comment.