Skip to content

Commit

Permalink
[FIX] Wrong type use in the reinterpret_cast function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alzathar committed Mar 18, 2014
1 parent ed749ac commit fee6fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/IO/btkBinaryFileStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ namespace btk
char foo[2] = {byteptr[1], byteptr[0]};
return *reinterpret_cast<int16_t const*>(foo);
#else
return *reinterpret_cast<uint16_t const*>(byteptr);
return *reinterpret_cast<int16_t const*>(byteptr);
#endif
};

Expand Down

0 comments on commit fee6fb7

Please sign in to comment.