mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
spa: use unsigned long for strtoul result
This commit is contained in:
parent
6971d11901
commit
0b0a4897d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
static inline bool spa_atou32(const char *str, uint32_t *val, int base)
|
||||||
{
|
{
|
||||||
char *endptr;
|
char *endptr;
|
||||||
long v;
|
unsigned long v;
|
||||||
|
|
||||||
if (!str || *str =='\0')
|
if (!str || *str =='\0')
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue