fix some signed vs unsigned comparisons

This commit is contained in:
Wim Taymans 2018-02-20 18:19:11 +01:00
parent 5f92c152e3
commit 6f61ac9357
10 changed files with 49 additions and 44 deletions

View file

@ -46,7 +46,7 @@ spa_type_param_meta_map(struct spa_type_map *map,
struct spa_type_param_meta *type)
{
if (type->Meta == 0) {
int i;
size_t i;
#define OFF(n) offsetof(struct spa_type_param_meta, n)
static struct { off_t offset; const char *type; } tab[] = {
{ OFF(Meta), SPA_TYPE_PARAM__Meta },