Fixed some compile warnings in client, minor tidy up with some dbprintf statements

This commit is contained in:
d18c7db 2010-01-04 03:08:45 +00:00
parent 709a8d3ff0
commit 1e1b303093
6 changed files with 12 additions and 285 deletions

View file

@ -225,7 +225,7 @@ void WaitForAck(void) {
}
}
static DWORD ExpectedAddr;
static unsigned int ExpectedAddr;
static BYTE QueuedToSend[256];
static BOOL AllWritten;
#define PHYSICAL_FLASH_START 0x100000
@ -336,7 +336,7 @@ static void LoadFlashFromSRecords(const char *file, int start_addr, int end_addr
char addrStr[9];
memcpy(addrStr, s, 8);
addrStr[8] = '\0';
DWORD addr;
unsigned int addr;
sscanf(addrStr, "%x", &addr);
s += 8;