Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
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
flatbuffers
Commits
a50711ad
Commit
a50711ad
authored
May 05, 2015
by
yinlei
Committed by
Wouter van Oortmerssen
May 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix u_int8_t to uint8_t
Change-Id: I475ef9454f51f1b7ec2a7f9086d711359456677a
parent
1d138fbe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
flatbuffers.h
include/flatbuffers/flatbuffers.h
+1
-1
No files found.
include/flatbuffers/flatbuffers.h
View file @
a50711ad
...
...
@@ -1006,7 +1006,7 @@ class Table {
template
<
typename
P
>
P
GetStruct
(
voffset_t
field
)
const
{
auto
field_offset
=
GetOptionalFieldOffset
(
field
);
auto
p
=
const_cast
<
u
_
int8_t
*>
(
data_
+
field_offset
);
auto
p
=
const_cast
<
uint8_t
*>
(
data_
+
field_offset
);
return
field_offset
?
reinterpret_cast
<
P
>
(
p
)
:
nullptr
;
}
...
...
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