mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
fix(os): File::Open doesn't require address of StreamRecord
This commit is contained in:
parent
473e630c6f
commit
c37593d375
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ HOSFILE OsCreateFile(const char* fileName, uint32_t desiredAccess, uint32_t shar
|
|||
|
||||
// Open file
|
||||
Blizzard::File::StreamRecord* stream;
|
||||
bool success = Blizzard::File::Open(fileName, flags, &stream);
|
||||
bool success = Blizzard::File::Open(fileName, flags, stream);
|
||||
if (!success) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue