Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
95b7bf97
Commit
95b7bf97
authored
Dec 21, 2016
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compat: ffsll use long long int as argument
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
368f85d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
compat/ffsll.c
compat/ffsll.c
+2
-2
include/vlc_fixups.h
include/vlc_fixups.h
+1
-1
No files found.
compat/ffsll.c
View file @
95b7bf97
/*****************************************************************************
* ffsll
p
.c: GNU ffsll() replacement
* ffsll.c: GNU ffsll() replacement
*****************************************************************************
* Copyright © 2015 Rémi Denis-Courmont
*
...
...
@@ -24,7 +24,7 @@
#include <limits.h>
int
ffsll
(
unsigned
long
long
x
)
int
ffsll
(
long
long
x
)
{
for
(
unsigned
i
=
0
;
i
<
sizeof
(
x
)
*
CHAR_BIT
;
i
++
)
if
((
x
>>
i
)
&
1
)
...
...
include/vlc_fixups.h
View file @
95b7bf97
...
...
@@ -144,7 +144,7 @@ int vasprintf (char **, const char *, va_list);
/* string.h */
#ifndef HAVE_FFSLL
int
ffsll
(
unsigned
long
long
);
int
ffsll
(
long
long
);
#endif
#ifndef HAVE_MEMRCHR
...
...
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