mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
fix for C89
This commit is contained in:
1 parent
63d8bb7324
commit
0ad47a461b
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -327,7 +327,7 @@ static int mgi_radio_data_receive(struct mg_radio_node *node,
|
||||
"past deadline",
|
||||
node->lan == NULL ? "Node" : "Bridge", index, last,
|
||||
(unsigned) node->rx_expected >> 4, node->rx_expected & 15U,
|
||||
(unsigned) chunk, (long long) (now - node->deadline)));
|
||||
(unsigned) chunk, (int64_t) (now - node->deadline)));
|
||||
node->rx_expected = 0xff;
|
||||
return -1;
|
||||
}
|
||||
@@ -430,7 +430,7 @@ static void mgi_radio_bridge_rx(uint64_t now, struct mg_radio_node *b,
|
||||
"turn of %04x, %lld us past deadline",
|
||||
frame[MGI_FRAME_HDR_LEN - 1] >> 4U, frame[MGI_FRAME_HDR_LEN - 1] & 15U,
|
||||
src, b->phase, b->current == NULL ? 0 : b->current->radio_address,
|
||||
(long long) (now - b->deadline)));
|
||||
(int64_t) (now - b->deadline)));
|
||||
return;
|
||||
}
|
||||
if (len != MGI_JOIN_UP_LEN || command != MGI_JOIN_UP ||
|
||||
|
||||
Reference in new issue
Block a user