diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-02-11 09:51:53 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-02-11 09:51:53 (GMT) |
commit | 506198102980db786648af48bd572af7f7cc3ba4 (patch) | |
tree | 5236e5769b7fbd77a5827e779d5836a70e30f9c2 /src/compression | |
parent | ad4e1cd1bba5edbb68cf7d52b814bf5ecd3267ca (diff) |
Open files in binary mode to fix bug on Windows.
On e.g. Linux it does not make a difference if a file is
opened in binary mode or not, but apparently it does in
Windows. This fixes the crashes noticed before.
Warnings from MSVC fixed as well.
Change-Id: I23dc209211b5462e6989ee550e78e36d7bb181ab
Diffstat (limited to 'src/compression')
0 files changed, 0 insertions, 0 deletions