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
Commit
c3ba1bb9
authored
Jan 26, 2008
by
Max Kellermann
Committed by
Eric Wong
Jan 26, 2008
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
Hide 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
();
...
...
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
);
...
...
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
...
...
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
);
...
...
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
{
...
...
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