diff --git a/Source/IO/FS/FS.NT.cpp b/Source/IO/FS/FS.NT.cpp index 9750c43a..04e39c9e 100644 --- a/Source/IO/FS/FS.NT.cpp +++ b/Source/IO/FS/FS.NT.cpp @@ -133,7 +133,7 @@ namespace Aurora::IO::FS if (!::ReadFile(fileHandle, &buffer[offset], blockSize, &read, NULL)) { - LogWarn("ReadFile IO Error: 0x%x {}", GetLastError(), path); + LogWarn("ReadFile IO Error: 0x{:x} {}", GetLastError(), path); SysPushErrorIO(); goto out; } diff --git a/Source/IO/FS/FileStream.NT.cpp b/Source/IO/FS/FileStream.NT.cpp index 92b75840..f693ad3c 100644 --- a/Source/IO/FS/FileStream.NT.cpp +++ b/Source/IO/FS/FileStream.NT.cpp @@ -39,7 +39,7 @@ namespace Aurora::IO::FS if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER) { - LogWarn("SetFilePointerEx IO Error: 0x%x, {}", GetLastError(), path_); + LogWarn("SetFilePointerEx IO Error: 0x{:x}, {}", GetLastError(), path_); SysPushErrorIO(); return 0; } @@ -62,7 +62,7 @@ namespace Aurora::IO::FS if (SetFilePointerEx(handle_, distance, &pos, FILE_CURRENT) == INVALID_SET_FILE_POINTER) { - LogWarn("SetFilePointerEx IO Error: 0x%x, {}", GetLastError(), path_); + LogWarn("SetFilePointerEx IO Error: 0x{:x}, {}", GetLastError(), path_); SysPushErrorIO(); return false; }