mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cppcheck truncLongCastAssignment
This commit is contained in:
parent
dac2c7664c
commit
d490be9649
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ int uart_receive(const serial_port sp, uint8_t *pbtRx, uint32_t pszMaxRxLen, uin
|
||||||
const serial_port_unix_t_t *spu = (serial_port_unix_t_t *)sp;
|
const serial_port_unix_t_t *spu = (serial_port_unix_t_t *)sp;
|
||||||
|
|
||||||
if (newtimeout_pending) {
|
if (newtimeout_pending) {
|
||||||
timeout.tv_usec = newtimeout_value * 1000;
|
timeout.tv_usec = ((suseconds_t)newtimeout_value) * 1000;
|
||||||
newtimeout_pending = false;
|
newtimeout_pending = false;
|
||||||
}
|
}
|
||||||
// Reset the output count
|
// Reset the output count
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue