diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h index 5508514194e..0abc53f6a8b 100644 --- a/src/gallium/drivers/freedreno/freedreno_util.h +++ b/src/gallium/drivers/freedreno/freedreno_util.h @@ -252,7 +252,7 @@ static inline uint32_t env2u(const char *envvar) { char *str = getenv(envvar); if (str) - return strtol(str, NULL, 0); + return strtoul(str, NULL, 0); return 0; } |