summaryrefslogtreecommitdiff
path: root/src/tools/pipewire-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/pipewire-cli.c')
-rw-r--r--src/tools/pipewire-cli.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/pipewire-cli.c b/src/tools/pipewire-cli.c
index 1fd53c57..ac3a6fb0 100644
--- a/src/tools/pipewire-cli.c
+++ b/src/tools/pipewire-cli.c
@@ -206,7 +206,7 @@ static struct command command_list[] = {
static bool do_help(struct data *data, const char *cmd, char *args, char **error)
{
- int i;
+ size_t i;
fprintf(stdout, "Available commands:\n");
for (i = 0; i < SPA_N_ELEMENTS(command_list); i++) {
@@ -1245,7 +1245,8 @@ static bool do_permissions(struct data *data, const char *cmd, char *args, char
static bool parse(struct data *data, char *buf, size_t size, char **error)
{
char *a[2];
- int i, n;
+ int n;
+ size_t i;
char *p, *cmd, *args;
if ((p = strchr(buf, '#')))