mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +00:00
Fix signed / unsigned warning
This commit is contained in:
parent
a531c0e960
commit
f615a1deca
2
meshmb.c
2
meshmb.c
@ -120,7 +120,7 @@ static int app_meshmb_read(const struct cli_parsed *parsed, struct cli_context *
|
|||||||
case MESSAGE_BLOCK_TYPE_MESSAGE:
|
case MESSAGE_BLOCK_TYPE_MESSAGE:
|
||||||
cli_put_long(context, row_id++, ":");
|
cli_put_long(context, row_id++, ":");
|
||||||
cli_put_long(context, read.record_end_offset, ":");
|
cli_put_long(context, read.record_end_offset, ":");
|
||||||
cli_put_long(context, timestamp ? (now - timestamp) : (long)-1, ":");
|
cli_put_long(context, timestamp ? (long)(now - timestamp) : (long)-1, ":");
|
||||||
cli_put_string(context, (const char *)read.record, "\n");
|
cli_put_string(context, (const char *)read.record, "\n");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user