Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
46b29185
Commit
46b29185
authored
Jan 07, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -Wsign-compare and -Wtype-limits
parent
1e37331d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
QGCJSBSimLink.cc
src/comm/QGCJSBSimLink.cc
+1
-2
MAVLinkDecoder.cc
src/ui/MAVLinkDecoder.cc
+1
-1
No files found.
src/comm/QGCJSBSimLink.cc
View file @
46b29185
...
...
@@ -241,8 +241,7 @@ void QGCJSBSimLink::readBytes()
// Echo data for debugging purposes
std
::
cerr
<<
__FILE__
<<
__LINE__
<<
"Received datagram:"
<<
std
::
endl
;
int
i
;
for
(
i
=
0
;
i
<
s
;
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
s
;
i
++
)
{
unsigned
int
v
=
data
[
i
];
fprintf
(
stderr
,
"%02x "
,
v
);
...
...
src/ui/MAVLinkDecoder.cc
View file @
46b29185
...
...
@@ -87,7 +87,7 @@ void MAVLinkDecoder::receiveMessage(LinkInterface* link,mavlink_message_t messag
time
=
getUnixTimeFromMs
(
message
.
sysid
,
time
);
// Send out all field values for this message
for
(
int
i
=
0
;
i
<
messageInfo
[
msgid
].
num_fields
;
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
messageInfo
[
msgid
].
num_fields
;
++
i
)
{
emitFieldValue
(
&
message
,
i
,
time
);
}
...
...
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