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
c3ba1bb9
You need to sign in or sign up before continuing.
Commit
c3ba1bb9
authored
17 years ago
by
Max Kellermann
Committed by
Eric Wong
17 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed "comparison between signed and unsigned"
Signed-off-by:
Eric Wong
<
normalperson@yhbt.net
>
git-svn-id:
https://svn.musicpd.org/mpd/trunk@7146
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
0659d359
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
audioOutput_shout.c
src/audioOutputs/audioOutput_shout.c
+1
-1
charConv.c
src/charConv.c
+1
-1
compress.c
src/compress.c
+5
-5
compress.h
src/compress.h
+1
-1
mp3_plugin.c
src/inputPlugins/mp3_plugin.c
+2
-2
No files found.
src/audioOutputs/audioOutput_shout.c
View file @
c3ba1bb9
...
...
@@ -119,7 +119,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param)
char
*
user
;
char
*
name
;
BlockParam
*
blockParam
;
unsigned
int
public
;
int
public
;
sd
=
newShoutData
();
...
...
This diff is collapsed.
Click to expand it.
src/charConv.c
View file @
c3ba1bb9
...
...
@@ -120,7 +120,7 @@ char *char_conv_str(char *dest, char *string)
iconv
(
char_conv_iconv
,
&
string
,
&
inleft
,
&
bufferPtr
,
&
outleft
);
if
(
outleft
==
BUFFER_SIZE
||
(
err
==
-
1L
&&
errno
!=
E2BIG
))
{
||
(
err
==
(
size_t
)
-
1L
&&
errno
!=
E2BIG
))
{
return
NULL
;
}
memcpy
(
dest
+
retlen
,
buffer
,
BUFFER_SIZE
-
outleft
);
...
...
This diff is collapsed.
Click to expand it.
src/compress.c
View file @
c3ba1bb9
...
...
@@ -44,7 +44,7 @@ static struct {
int
target
;
int
gainmax
;
int
gainsmooth
;
int
buckets
;
unsigned
buckets
;
}
prefs
;
#ifdef USE_X
...
...
@@ -52,9 +52,9 @@ static int mon_init;
#endif
void
CompressCfg
(
int
show_mon
,
int
anticlip
,
int
target
,
int
gainmax
,
int
gainsmooth
,
int
buckets
)
int
gainsmooth
,
unsigned
buckets
)
{
static
int
lastsize
;
static
unsigned
lastsize
;
prefs
.
show_mon
=
show_mon
;
prefs
.
anticlip
=
anticlip
;
...
...
@@ -170,8 +170,8 @@ void CompressFree(void)
void
CompressDo
(
void
*
data
,
unsigned
int
length
)
{
int16_t
*
audio
=
(
int16_t
*
)
data
,
*
ap
;
int
peak
,
pos
;
int
i
;
int
peak
;
unsigned
int
i
,
pos
;
int
gr
,
gf
,
gn
;
static
int
pn
=
-
1
;
#ifdef STATS
...
...
This diff is collapsed.
Click to expand it.
src/compress.h
View file @
c3ba1bb9
...
...
@@ -38,7 +38,7 @@ void CompressCfg(int monitor,
int
target
,
int
maxgain
,
int
smooth
,
int
buckets
);
unsigned
buckets
);
void
CompressDo
(
void
*
data
,
unsigned
int
numSamples
);
...
...
This diff is collapsed.
Click to expand it.
src/inputPlugins/mp3_plugin.c
View file @
c3ba1bb9
...
...
@@ -492,8 +492,8 @@ enum {
};
struct
version
{
int
major
;
int
minor
;
unsigned
major
;
unsigned
minor
;
};
struct
lame
{
...
...
This diff is collapsed.
Click to expand it.
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