Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
e348ef01
Commit
e348ef01
authored
May 19, 2015
by
Pavel Tvrdík
Committed by
Ondřej Zajíček
Jun 08, 2015
Browse files
unsgined char -> byte
parent
398f9225
Changes
4
Hide whitespace changes
Inline
Side-by-side
lib/printf.c
View file @
e348ef01
...
...
@@ -215,7 +215,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
if
(
!
(
flags
&
LEFT
))
while
(
--
field_width
>
0
)
*
str
++
=
' '
;
*
str
++
=
(
unsigned
char
)
va_arg
(
args
,
int
);
*
str
++
=
(
byte
)
va_arg
(
args
,
int
);
while
(
--
field_width
>
0
)
*
str
++
=
' '
;
continue
;
...
...
nest/route.h
View file @
e348ef01
...
...
@@ -320,7 +320,7 @@ struct mpnh {
ip_addr
gw
;
/* Next hop */
struct
iface
*
iface
;
/* Outgoing interface */
struct
mpnh
*
next
;
unsigned
char
weight
;
byte
weight
;
};
struct
rte_src
{
...
...
proto/ospf/rt.c
View file @
e348ef01
...
...
@@ -43,7 +43,7 @@ unresolved_vlink(ort *ort)
}
static
inline
struct
mpnh
*
new_nexthop
(
struct
ospf_proto
*
p
,
ip_addr
gw
,
struct
iface
*
iface
,
unsigned
char
weight
)
new_nexthop
(
struct
ospf_proto
*
p
,
ip_addr
gw
,
struct
iface
*
iface
,
byte
weight
)
{
struct
mpnh
*
nh
=
lp_alloc
(
p
->
nhpool
,
sizeof
(
struct
mpnh
));
nh
->
gw
=
gw
;
...
...
sysdep/bsd/sysio.h
View file @
e348ef01
...
...
@@ -130,7 +130,7 @@ static inline void
sk_process_cmsg4_ttl
(
sock
*
s
,
struct
cmsghdr
*
cm
)
{
if
(
cm
->
cmsg_type
==
IP_RECVTTL
)
s
->
rcv_ttl
=
*
(
unsigned
char
*
)
CMSG_DATA
(
cm
);
s
->
rcv_ttl
=
*
(
byte
*
)
CMSG_DATA
(
cm
);
}
static
inline
void
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment