mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-01 02:02:28 +00:00
Standardise fixed-width integer usage in touched files
This commit is contained in:
@@ -51,7 +51,7 @@ void FileOutputStream::write(unsigned int b)
|
||||
return;
|
||||
}
|
||||
|
||||
uint8_t value = (uint8_t) b;
|
||||
std::uint8_t value = (std::uint8_t) b;
|
||||
const size_t numberOfBytesWritten = std::fwrite(&value, 1, 1, m_fileHandle);
|
||||
const int result = std::ferror(m_fileHandle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user