mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-27 09:35:45 -05:00
lib: fix gcc deprecation warnings
This commit is contained in:
parent
8f19097c69
commit
f37a72b0d1
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ namespace si {
|
|||
|
||||
bool File::Open(const char *c, Mode mode)
|
||||
{
|
||||
std::ios::open_mode m = std::ios::binary;
|
||||
std::ios::openmode m = std::ios::binary;
|
||||
|
||||
if (mode == Read) {
|
||||
m |= std::ios::in;
|
||||
|
@ -55,7 +55,7 @@ size_t File::pos()
|
|||
|
||||
void File::seek(size_t p, SeekMode s)
|
||||
{
|
||||
std::ios::seek_dir d;
|
||||
std::ios::seekdir d;
|
||||
|
||||
switch (s) {
|
||||
case SeekStart:
|
||||
|
|
Loading…
Reference in a new issue