Skip to content

Commit

Permalink
fixup! sys/shell: fix comparison of signed/unsigned ints
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikVE committed Jan 24, 2020
1 parent ece4bd6 commit 886bcd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/shell/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct shell_state {

static int shell_state_init(struct shell_state *state, int len)
{
assert(len >= sizeof(struct shell_state));
assert(len >= (int) sizeof(struct shell_state));

state->echo_on = ECHO_ON;
state->prompt_char = PROMPT_CHAR;
Expand Down

0 comments on commit 886bcd3

Please sign in to comment.