Fixes signedness in format route attributes.
This commit is contained in:
parent
ff2857b03d
commit
212ff33582
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ ea_format(eattr *e, byte *buf)
|
||||||
switch (e->type & EAF_TYPE_MASK)
|
switch (e->type & EAF_TYPE_MASK)
|
||||||
{
|
{
|
||||||
case EAF_TYPE_INT:
|
case EAF_TYPE_INT:
|
||||||
bsprintf(buf, "%d", e->u.data);
|
bsprintf(buf, "%u", e->u.data);
|
||||||
break;
|
break;
|
||||||
case EAF_TYPE_OPAQUE:
|
case EAF_TYPE_OPAQUE:
|
||||||
for(i=0; i<ad->length; i++)
|
for(i=0; i<ad->length; i++)
|
||||||
|
|
Loading…
Reference in a new issue