PDP11: Fix warning about size_t converted to uint16.
This commit is contained in:
parent
35574f1365
commit
1cc1daed96
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ void ch_receive (void)
|
|||
count -= CHUDP_HEADER;
|
||||
count = (count + 1) & 0776;
|
||||
memcpy (rx_buffer + (512 - count), p + CHUDP_HEADER, count);
|
||||
rx_count = count >> 1;
|
||||
rx_count = (uint16)(count >> 1);
|
||||
sim_debug (DBG_TRC, &ch_dev, "Rx count, %d\n", rx_count);
|
||||
ch_validate (p + CHUDP_HEADER, count);
|
||||
status |= RXD;
|
||||
|
|
Loading…
Add table
Reference in a new issue