Skip to content

Commit

Permalink
COMMON: Fix header flags reading
Browse files Browse the repository at this point in the history
Coverity issues 1038268 and 1038266.
  • Loading branch information
DrMcCoy committed Jun 25, 2013
1 parent 1bfda47 commit bdfb4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/foxpro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void FoxPro::loadHeader(SeekableReadStream &dbf, uint32 &recordSize, uint32 &rec

dbf.skip(16); // Reserved

bool flags = dbf.readByte();
byte flags = dbf.readByte();

_hasIndex = flags & 0x01;
_hasMemo = flags & 0x02;
Expand Down

0 comments on commit bdfb4d3

Please sign in to comment.