aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
commit226d52b36fe648215f367d352ad6e5eb38e116be (patch)
treea8dc789a0f3585b07da36f952a69ff554a1bf999 /src/command.c
parent0352766dca3da5266e4714124fea119be82c4188 (diff)
downloadmpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.gz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.xz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.zip
switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not touched by Eric's merged patch.
Diffstat (limited to '')
-rw-r--r--src/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c
index 882d968d3..822ee05bf 100644
--- a/src/command.c
+++ b/src/command.c
@@ -197,7 +197,7 @@ mpd_fprintf_ void command_error(struct client *client, int error,
va_end(args);
}
-static int mpd_fprintf__ check_uint32(struct client *client, mpd_uint32 *dst,
+static int mpd_fprintf__ check_uint32(struct client *client, uint32_t *dst,
const char *s, const char *fmt, ...)
{
char *test;
@@ -627,7 +627,7 @@ static int handleRename(struct client *client,
static int handlePlaylistChanges(struct client *client,
mpd_unused int argc, char *argv[])
{
- mpd_uint32 version;
+ uint32_t version;
if (check_uint32(client, &version, argv[1], need_positive) < 0)
return -1;
@@ -637,7 +637,7 @@ static int handlePlaylistChanges(struct client *client,
static int handlePlaylistChangesPosId(struct client *client,
mpd_unused int argc, char *argv[])
{
- mpd_uint32 version;
+ uint32_t version;
if (check_uint32(client, &version, argv[1], need_positive) < 0)
return -1;