aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/TagCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/TagCommands.cxx')
-rw-r--r--src/command/TagCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/TagCommands.cxx b/src/command/TagCommands.cxx
index 8997c84c3..aa8cf139d 100644
--- a/src/command/TagCommands.cxx
+++ b/src/command/TagCommands.cxx
@@ -32,7 +32,7 @@ CommandResult
handle_addtagid(Client &client, Request args)
{
unsigned song_id;
- if (!check_unsigned(client, &song_id, args.front()))
+ if (!ParseCommandArg(client, song_id, args.front()))
return CommandResult::ERROR;
const char *const tag_name = args[1];
@@ -57,7 +57,7 @@ CommandResult
handle_cleartagid(Client &client, Request args)
{
unsigned song_id;
- if (!check_unsigned(client, &song_id, args.front()))
+ if (!ParseCommandArg(client, song_id, args.front()))
return CommandResult::ERROR;
TagType tag_type = TAG_NUM_OF_ITEM_TYPES;