Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a270576f
Commit
a270576f
authored
Nov 05, 2014
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71 from abyss7/master
Silence -Wsign-compare warning on Mac
parents
3e0ec8de
717f8074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wire_format_lite_inl.h
src/google/protobuf/wire_format_lite_inl.h
+1
-1
No files found.
src/google/protobuf/wire_format_lite_inl.h
View file @
a270576f
...
...
@@ -380,7 +380,7 @@ inline bool WireFormatLite::ReadPackedFixedSizePrimitive(
#else
values
->
Reserve
(
old_entries
+
new_entries
);
CType
value
;
for
(
int
i
=
0
;
i
<
new_entries
;
++
i
)
{
for
(
uint32
i
=
0
;
i
<
new_entries
;
++
i
)
{
if
(
!
ReadPrimitive
<
CType
,
DeclaredType
>
(
input
,
&
value
))
return
false
;
values
->
AddAlreadyReserved
(
value
);
}
...
...
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