Commits

hasso authored c9e52be3f4d
Compiler warnings fixes.
No tags

bgpd/bgp_aspath.c

Modified
129 129 char *
130 130 aspath_make_str_count (struct aspath *as)
131 131 {
132 132 int space;
133 133 u_char type;
134 134 caddr_t pnt;
135 135 caddr_t end;
136 136 struct assegment *assegment;
137 137 int str_size = ASPATH_STR_DEFAULT_LEN;
138 138 int str_pnt;
139 - u_char *str_buf;
139 + char *str_buf;
140 140 int count = 0;
141 141
142 142 /* Empty aspath. */
143 143 if (as->length == 0)
144 144 {
145 145 str_buf = XMALLOC (MTYPE_AS_STR, 1);
146 146 str_buf[0] = '\0';
147 147 as->count = count;
148 148 return str_buf;
149 149 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut