diff options
author | Colin Cross <ccross@android.com> | 2022-12-02 10:19:19 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2022-12-02 10:19:19 -0800 |
commit | 03f80251bd2ca5e9db62d4e1729694b5f3006106 (patch) | |
tree | d1865763e6413ae814c96a30597e8f56c330d6cb /ufdt_prop_dict.c | |
parent | e55c0823fe0f9e3a2d9864726846fa0e05584597 (diff) | |
download | libufdt-03f80251bd2ca5e9db62d4e1729694b5f3006106.tar.gz |
Use unsigned int instead of uint
uint is not a standard type and is not provided by musl libc. Use
unsigned int instead.
Test: m USE_HOST_MUSL=true libufdt
Change-Id: I29e560824aba3b4b53ee4f5c57edaf47cccd3c12
Diffstat (limited to 'ufdt_prop_dict.c')
-rw-r--r-- | ufdt_prop_dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufdt_prop_dict.c b/ufdt_prop_dict.c index c977b14..fbd346a 100644 --- a/ufdt_prop_dict.c +++ b/ufdt_prop_dict.c @@ -29,7 +29,7 @@ #define DICT_LIMIT_DEN 3 static int _ufdt_prop_dict_str_hash(const char *str) { - uint res = 0; + unsigned int res = 0; for (; *str != '\0'; str++) { res *= HASH_BASE; |