diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:49:29 +0200 |
commit | 226d52b36fe648215f367d352ad6e5eb38e116be (patch) | |
tree | a8dc789a0f3585b07da36f952a69ff554a1bf999 /src/command.c | |
parent | 0352766dca3da5266e4714124fea119be82c4188 (diff) | |
download | mpd-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 'src/command.c')
-rw-r--r-- | src/command.c | 6 |
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; |