Use enum kiss_flags type, not int
This commit is contained in:
parent
df23b0b8e3
commit
f1e7fc356f
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ error_io:
|
||||||
|
|
||||||
ssize_t patty_kiss_tnc_decode(patty_kiss_tnc *tnc, void *frame, size_t *len, int *port) {
|
ssize_t patty_kiss_tnc_decode(patty_kiss_tnc *tnc, void *frame, size_t *len, int *port) {
|
||||||
size_t i, b;
|
size_t i, b;
|
||||||
int flags = KISS_NONE;
|
enum kiss_flags flags = KISS_NONE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The default port is always zero, unless a command byte issued from the
|
* The default port is always zero, unless a command byte issued from the
|
||||||
|
|
Loading…
Add table
Reference in a new issue