We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9d0c9 commit 9f93621Copy full SHA for 9f93621
libs/libc/gdbstub/lib_gdbstub.c
@@ -1376,11 +1376,11 @@ static int gdb_query(FAR struct gdb_state_s *state)
1376
{
1377
#ifdef CONFIG_ARCH_HAVE_DEBUG
1378
state->pkt_len = sprintf(state->pkt_buf,
1379
- "hwbreak+;PacketSize=%x",
+ "hwbreak+;PacketSize=%zx",
1380
sizeof(state->pkt_buf));
1381
#else
1382
1383
- "PacketSize=%x",
+ "PacketSize=%zx",
1384
1385
#endif
1386
gdb_send_packet(state);
0 commit comments