Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
libdvbpsi
Commits
3ffaf884
Commit
3ffaf884
authored
Jul 19, 2015
by
Daniel Kamil Kozar
Committed by
Jean-Paul Saman
Jan 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong comparison in test_dr_cmp for ca_system_t
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
dcfd2c70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc/test_dr_cmp.h
misc/test_dr_cmp.h
+1
-1
No files found.
misc/test_dr_cmp.h
View file @
3ffaf884
...
...
@@ -35,6 +35,6 @@ static int compare_dvbpsi_ca_system_t(const void *s1, const void *s2)
{
const
dvbpsi_ca_system_t
*
a
=
s1
,
*
b
=
s2
;
if
(
a
->
i_ca_system_id
<
b
->
i_ca_system_id
)
return
-
1
;
else
if
(
a
->
i_ca_system_id
<
b
->
i_ca_system_id
)
return
1
;
else
if
(
a
->
i_ca_system_id
>
b
->
i_ca_system_id
)
return
1
;
else
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