OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107460c
)
avstring: fix return discards qualifiers from pointer target type.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 17 Oct 2011 20:55:00 +0000
(22:55 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 17 Oct 2011 20:55:00 +0000
(22:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/avstring.c
patch
|
blob
|
history
diff --git
a/libavutil/avstring.c
b/libavutil/avstring.c
index
4cebbe0
..
4c50448
100644
(file)
--- a/
libavutil/avstring.c
+++ b/
libavutil/avstring.c
@@
-51,11
+51,11
@@
int av_stristart(const char *str, const char *pfx, const char **ptr)
char *av_stristr(const char *s1, const char *s2)
{
if (!*s2)
- return s1;
+ return
(char*)(intptr_t)
s1;
do {
if (av_stristart(s1, s2, NULL))
- return s1;
+ return
(char*)(intptr_t)
s1;
} while (*s1++);
return NULL;