mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
fix sign confusion
This commit is contained in:
parent
74e5f9fbcf
commit
e918f9f77c
60 changed files with 164 additions and 146 deletions
|
|
@ -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, '#')))
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ static void on_sync_reply(void *data, uint32_t seq)
|
|||
|
||||
static void clear_params(struct proxy_data *data)
|
||||
{
|
||||
int i;
|
||||
uint32_t i;
|
||||
|
||||
for (i = 0; i < data->n_params; i++)
|
||||
free(data->params[i]);
|
||||
|
|
@ -219,7 +219,7 @@ static void print_node(struct proxy_data *data)
|
|||
printf("\ttype: %s (version %d)\n",
|
||||
spa_debug_type_find_name(pw_type_info(), data->type), data->version);
|
||||
if (print_all) {
|
||||
int i;
|
||||
uint32_t i;
|
||||
|
||||
printf("%c\tname: \"%s\"\n", MARK_CHANGE(0), info->name);
|
||||
printf("%c\tparams:\n", MARK_CHANGE(5));
|
||||
|
|
@ -297,7 +297,7 @@ static void print_port(struct proxy_data *data)
|
|||
printf("\ttype: %s (version %d)\n",
|
||||
spa_debug_type_find_name(pw_type_info(), data->type), data->version);
|
||||
if (print_all) {
|
||||
int i;
|
||||
uint32_t i;
|
||||
printf(" \tdirection: \"%s\"\n", pw_direction_as_string(info->direction));
|
||||
printf("%c\tparams:\n", MARK_CHANGE(2));
|
||||
for (i = 0; i < data->n_params; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue