Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
da8b0177
Commit
da8b0177
authored
Mar 22, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist/soundcloud: libyajl2 uses size_t for string lengths
Fixes build failure on 64 bit.
parent
725fbe94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
soundcloud_playlist_plugin.c
src/playlist/soundcloud_playlist_plugin.c
+14
-2
No files found.
src/playlist/soundcloud_playlist_plugin.c
View file @
da8b0177
...
...
@@ -130,7 +130,13 @@ static int handle_integer(void *ctx,
return
1
;
}
static
int
handle_string
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
unsigned
int
stringlen
)
static
int
handle_string
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
#ifdef HAVE_YAJL1
unsigned
int
#else
size_t
#endif
stringlen
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
const
char
*
s
=
(
const
char
*
)
stringval
;
...
...
@@ -154,7 +160,13 @@ static int handle_string(void *ctx, const unsigned char* stringval, unsigned int
return
1
;
}
static
int
handle_mapkey
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
unsigned
int
stringlen
)
static
int
handle_mapkey
(
void
*
ctx
,
const
unsigned
char
*
stringval
,
#ifdef HAVE_YAJL1
unsigned
int
#else
size_t
#endif
stringlen
)
{
struct
parse_data
*
data
=
(
struct
parse_data
*
)
ctx
;
...
...
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