Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
76da9500
Commit
76da9500
authored
Sep 03, 2016
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pointer signedness warning in nettle-lfib-stream.
parent
c9443aa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ChangeLog
ChangeLog
+2
-0
tools/nettle-lfib-stream.c
tools/nettle-lfib-stream.c
+3
-3
No files found.
ChangeLog
View file @
76da9500
...
...
@@ -25,6 +25,8 @@
argument to test_armor.
* testsuite/base64-test.c (test_main): Likewise.
* tools/nettle-lfib-stream.c (main): Fix pointer signedness warning.
2016-08-29 Niels Möller <nisse@lysator.liu.se>
* sexp-format.c (strlen_u8): New helper function.
...
...
tools/nettle-lfib-stream.c
View file @
76da9500
...
...
@@ -80,10 +80,10 @@ main(int argc, char **argv)
for
(;;)
{
char
buffer
[
BUFSIZE
];
knuth_lfib_random
(
&
ctx
,
BUFSIZE
,
buffer
);
uint8_t
buffer
[
BUFSIZE
];
knuth_lfib_random
(
&
ctx
,
sizeof
(
buffer
)
,
buffer
);
if
(
fwrite
(
buffer
,
1
,
BUFSIZE
,
stdout
)
<
BUFSIZE
if
(
fwrite
(
buffer
,
1
,
sizeof
(
buffer
),
stdout
)
<
sizeof
(
buffer
)
||
fflush
(
stdout
)
<
0
)
return
EXIT_FAILURE
;
}
...
...
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