this is a more "clean" conversion to 64 bit than the type-fixups branch, which does borrow some elements from it but has far less find and replace...it is about 98-99% done, notes to follow later

This commit is contained in:
DarthArgus
2017-01-24 03:35:59 +00:00
parent 42b949c3dc
commit 36686348e9
458 changed files with 2282 additions and 2367 deletions
@@ -253,7 +253,7 @@ void BitFile::outputBits(uint32 code, uint32 count)
if (!mask)
{
uint32 bytesWritten;
long unsigned int bytesWritten;
if (!WriteFile(hFile, &rack, sizeof(rack), &bytesWritten, nullptr))
{
DEBUG_FATAL(true,("BitFile::outputBits error %d.", GetLastError()));
@@ -276,7 +276,7 @@ void BitFile::outputBits(uint32 code, uint32 count)
void BitFile::outputRack(void)
{
uint32 bytesWritten;
long unsigned int bytesWritten;
if (mask != INITIAL_MASK_VALUE)
{
@@ -310,7 +310,7 @@ uint32 BitFile::inputBits(uint32 count)
{
if (mask == INITIAL_MASK_VALUE )
{
uint32 bytesRead;
long unsigned int bytesRead;
const BOOL result = ReadFile(hFile, &rack, sizeof(rack), &bytesRead, nullptr);
@@ -495,7 +495,7 @@ void ByteFile::output(byte b)
DEBUG_FATAL(isInput,("ByteFile::output called on input stream."));
byte out = b;
uint32 bytesWritten;
long unsigned int bytesWritten;
if (!WriteFile(hFile, &out, sizeof(byte), &bytesWritten, nullptr))
{
@@ -517,7 +517,7 @@ bool ByteFile::input(byte *b)
{
DEBUG_FATAL(!isInput,("ByteFile::input called on output stream."));
uint32 bytesRead;
long unsigned int bytesRead;
BOOL result = ReadFile(hFile, b, sizeof(byte), &bytesRead, nullptr);
// check for EOS