From: Ondrej Zajicek Date: Fri, 26 Feb 2010 12:55:22 +0000 (+0100) Subject: Fixes signedness in format route attributes. X-Git-Tag: v1.2.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=212ff335828fbe28311fcbae6154cf2495a44d0e;p=thirdparty%2Fbird.git Fixes signedness in format route attributes. --- diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 9d78ce07c..94b105d79 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -400,7 +400,7 @@ ea_format(eattr *e, byte *buf) switch (e->type & EAF_TYPE_MASK) { case EAF_TYPE_INT: - bsprintf(buf, "%d", e->u.data); + bsprintf(buf, "%u", e->u.data); break; case EAF_TYPE_OPAQUE: for(i=0; ilength; i++)