2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

General: Be explicit about SeekOrigin type

This will make turning SeekOrigin into an enum class a little smoother
without breaking hecl.
This commit is contained in:
Lioncash
2019-09-07 09:26:17 -04:00
parent 822227a1ca
commit 8bac46508c
2 changed files with 5 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ void ClientProcess::BufferTransaction::run(blender::Token& btok) {
return;
}
if (m_offset)
r.seek(m_offset, athena::Begin);
r.seek(m_offset, athena::SeekOrigin::Begin);
r.readBytesToBuf(m_targetBuf, m_maxLen);
m_complete = true;
}