mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
cache: use flexible array member
... instead of 0-sizing the array
This commit is contained in:
parent
16346e1401
commit
02fc4e319c
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ struct namecache {
|
|||
} n_un;
|
||||
u_char nc_flag; /* flag bits */
|
||||
u_char nc_nlen; /* length of name */
|
||||
char nc_name[0]; /* segment name + nul */
|
||||
char nc_name[]; /* segment name + nul */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue