File 0007-spa-use-unsigned-long-for-strtoul-result.patch of Package pipewire.30043

From 0b0a4897d65bd7414a13fb5f843b95288f7108b4 Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Thu, 3 Jun 2021 11:18:57 +0200
Subject: [PATCH] spa: use unsigned long for strtoul result

---
 spa/include/spa/utils/string.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spa/include/spa/utils/string.h b/spa/include/spa/utils/string.h
index 8eea8795ae..22afb66294 100644
--- a/spa/include/spa/utils/string.h
+++ b/spa/include/spa/utils/string.h
@@ -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;
-- 
GitLab

openSUSE Build Service is sponsored by