mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
fix sign confusion
This commit is contained in:
parent
74e5f9fbcf
commit
e918f9f77c
60 changed files with 164 additions and 146 deletions
|
|
@ -114,7 +114,6 @@ spa_debug_format_value(const struct spa_type_info *info,
|
|||
static inline int spa_debug_format(int indent,
|
||||
const struct spa_type_info *info, const struct spa_pod *format)
|
||||
{
|
||||
int i;
|
||||
const char *media_type;
|
||||
const char *media_subtype;
|
||||
struct spa_pod_prop *prop;
|
||||
|
|
@ -160,7 +159,7 @@ static inline int spa_debug_format(int indent,
|
|||
SPA_POD_OBJECT_FOREACH((struct spa_pod_object*)format, prop) {
|
||||
const char *key;
|
||||
const struct spa_type_info *ti;
|
||||
uint32_t type, size, n_vals, choice;
|
||||
uint32_t i, type, size, n_vals, choice;
|
||||
const struct spa_pod *val;
|
||||
void *vals;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ static inline int spa_debug_mem(int indent, const void *data, size_t size)
|
|||
{
|
||||
const uint8_t *t = data;
|
||||
char buffer[512];
|
||||
int i, pos = 0;
|
||||
size_t i;
|
||||
int pos = 0;
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
if (i % 16 == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue