mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Merge pull request #314 from gibsson/master
j1939cat: fix comparison signs issue
This commit is contained in:
+1
-1
@@ -273,7 +273,7 @@ static int j1939cat_extract_serr(struct j1939cat_priv *priv)
|
||||
case J1939_EE_INFO_RX_DPO:
|
||||
stats->tskey = serr->ee_data;
|
||||
j1939cat_print_timestamp(priv, "RX DPO", &tss->ts[0]);
|
||||
if (stats->send <= priv->last_dpo && priv->last_dpo != -1)
|
||||
if (stats->send <= (uint32_t)priv->last_dpo && priv->last_dpo != -1)
|
||||
warnx("same dpo? current: %i, last: %i",
|
||||
stats->send, priv->last_dpo);
|
||||
priv->last_dpo = stats->send;
|
||||
|
||||
Reference in New Issue
Block a user