Skip to content
Snippets Groups Projects
Commit 8548f0c5 authored by rswindell's avatar rswindell
Browse files

Fixed warnings.

parent b97124ef
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ int xmodem_get_block(xmodem_t* xm, uchar* block, BOOL hdrblock)
/*****************/
/* Sends a block */
/*****************/
void xmodem_put_block(xmodem_t* xm, uchar* block, uint block_size, ulong block_num)
void xmodem_put_block(xmodem_t* xm, uchar* block, unsigned block_size, unsigned block_num)
{
uchar ch,chksum;
uint i;
......@@ -238,7 +238,8 @@ void xmodem_put_block(xmodem_t* xm, uchar* block, uint block_size, ulong block_n
/************************************************************/
int xmodem_get_ack(xmodem_t* xm, unsigned tries, unsigned block_num)
{
int i,errors,can=0;
int i,can=0;
unsigned errors;
for(errors=0;errors<tries;errors++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment