Skip to content

Commit 9f93621

Browse files
szafonimateusz-mixiaoxiang781216
authored andcommitted
libs/libc/gdbstub/lib_gdbstub.c: fix warning
libs/libc/gdbstub/lib_gdbstub.c: fix warning Signed-off-by: p-szafonimateusz <[email protected]>
1 parent 6f9d0c9 commit 9f93621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/libc/gdbstub/lib_gdbstub.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,11 +1376,11 @@ static int gdb_query(FAR struct gdb_state_s *state)
13761376
{
13771377
#ifdef CONFIG_ARCH_HAVE_DEBUG
13781378
state->pkt_len = sprintf(state->pkt_buf,
1379-
"hwbreak+;PacketSize=%x",
1379+
"hwbreak+;PacketSize=%zx",
13801380
sizeof(state->pkt_buf));
13811381
#else
13821382
state->pkt_len = sprintf(state->pkt_buf,
1383-
"PacketSize=%x",
1383+
"PacketSize=%zx",
13841384
sizeof(state->pkt_buf));
13851385
#endif
13861386
gdb_send_packet(state);

0 commit comments

Comments
 (0)