const char *dump_lsa_key(struct ospf_lsa *lsa)
{
- static char buf[] = {"Type255,id(255.255.255.255),ar(255.255.255.255)"};
+ static char buf[sizeof("Type255,id(255.255.255.255),ar(255.255.255.255)")+1];
struct lsa_header *lsah;
if (lsa != NULL && (lsah = lsa->data) != NULL) {