spa: use unsigned long for strtoul result

This commit is contained in:
Wim Taymans 2021-06-03 11:18:57 +02:00
parent 6971d11901
commit 0b0a4897d6

View file

@ -100,7 +100,7 @@ static inline bool spa_atoi32(const char *str, int32_t *val, int base)
static inline bool spa_atou32(const char *str, uint32_t *val, int base)
{
char *endptr;
long v;
unsigned long v;
if (!str || *str =='\0')
return false;