Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
2ff1fdfe
Commit
2ff1fdfe
authored
Mar 08, 2019
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make buffers unsigned.
What was I thinking?
parent
04047250
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interface.h
interface.h
+1
-1
neighbour.c
neighbour.c
+1
-1
No files found.
interface.h
View file @
2ff1fdfe
...
@@ -84,7 +84,7 @@ struct interface_conf {
...
@@ -84,7 +84,7 @@ struct interface_conf {
struct
buffered
{
struct
buffered
{
struct
sockaddr_in6
sin6
;
struct
sockaddr_in6
sin6
;
char
*
buf
;
unsigned
char
*
buf
;
int
len
;
int
len
;
int
size
;
int
size
;
int
flush_interval
;
int
flush_interval
;
...
...
neighbour.c
View file @
2ff1fdfe
...
@@ -77,7 +77,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
...
@@ -77,7 +77,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
{
{
struct
neighbour
*
neigh
;
struct
neighbour
*
neigh
;
const
struct
timeval
zero
=
{
0
,
0
};
const
struct
timeval
zero
=
{
0
,
0
};
char
*
buf
;
unsigned
char
*
buf
;
neigh
=
find_neighbour_nocreate
(
address
,
ifp
);
neigh
=
find_neighbour_nocreate
(
address
,
ifp
);
if
(
neigh
)
if
(
neigh
)
...
...
Write
Preview
Markdown
is supported
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