Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
d804780c
Commit
d804780c
authored
Sep 25, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile error with Android NDK and --enable-werror
parent
6200bf33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lib/nghttp2_hd.c
lib/nghttp2_hd.c
+2
-1
lib/nghttp2_hd_huffman.c
lib/nghttp2_hd_huffman.c
+2
-1
No files found.
lib/nghttp2_hd.c
View file @
d804780c
...
...
@@ -1321,7 +1321,8 @@ static search_result search_hd_table(nghttp2_hd_context *context,
return
res
;
}
res
.
index
=
context
->
next_seq
-
1
-
ent
->
seq
+
NGHTTP2_STATIC_TABLE_LENGTH
;
res
.
index
=
(
ssize_t
)(
context
->
next_seq
-
1
-
ent
->
seq
+
NGHTTP2_STATIC_TABLE_LENGTH
);
if
(
exact_match
)
{
res
.
name_value_match
=
1
;
...
...
lib/nghttp2_hd_huffman.c
View file @
d804780c
...
...
@@ -157,7 +157,8 @@ int nghttp2_hd_huff_encode(nghttp2_bufs *bufs, const uint8_t *src,
const
nghttp2_huff_sym
*
sym
=
&
huff_sym_table
[
256
];
assert
(
avail
);
/* Caution we no longer adjust avail here */
nghttp2_bufs_fast_orb
(
bufs
,
(
uint8_t
)(
sym
->
code
>>
(
sym
->
nbits
-
rembits
)));
nghttp2_bufs_fast_orb
(
bufs
,
(
uint8_t
)(
sym
->
code
>>
(
sym
->
nbits
-
(
size_t
)
rembits
)));
}
return
0
;
...
...
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