added type casts

This commit is contained in:
netp
2012-08-07 03:40:06 +00:00
parent 2f21b3e352
commit 6bac1f18bc
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ int main(
npdu_handler(&src, &Rx_Buf[0], pdu_len);
}
/* at least one second has passed */
elapsed_seconds = current_seconds - last_seconds;
elapsed_seconds = (uint32_t)(current_seconds - last_seconds);
if (elapsed_seconds) {
last_seconds = current_seconds;
dcc_timer_seconds(elapsed_seconds);