mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 06:49:53 +02:00
0c61f2ac4c692c4bdbd7ce2e0375a5634333a9c1
Calculations using unsigned integer types are done modulo U*INT_MAX+1, so you get the correct difference of two values by simply subtracting. No special handling for overflow is neccessary. Signed-off-by: Urs Thuermann <urs@isnogud.escape.de> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%