From 8ac69ff9dcfc6aba8b5de8d53658612c8411b43b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 28 Oct 2017 17:48:45 +1100 Subject: Cleanup: use uint type in BLI --- source/blender/blenlib/intern/BLI_args.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/intern/BLI_args.c') diff --git a/source/blender/blenlib/intern/BLI_args.c b/source/blender/blenlib/intern/BLI_args.c index 340ae52120c..4eebcd46374 100644 --- a/source/blender/blenlib/intern/BLI_args.c +++ b/source/blender/blenlib/intern/BLI_args.c @@ -73,10 +73,10 @@ struct bArgs { int *passes; }; -static unsigned int case_strhash(const void *ptr) +static uint case_strhash(const void *ptr) { const char *s = ptr; - unsigned int i = 0; + uint i = 0; unsigned char c; while ( (c = tolower(*s++)) ) @@ -85,7 +85,7 @@ static unsigned int case_strhash(const void *ptr) return i; } -static unsigned int keyhash(const void *ptr) +static uint keyhash(const void *ptr) { const bAKey *k = ptr; return case_strhash(k->arg); /* ^ BLI_ghashutil_inthash((void *)k->pass); */ -- cgit v1.2.3