Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-04 03:05:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-04 03:06:44 +0300
commit53d655a0b317edf4d05fd163e3ad6f09ec0c2b3b (patch)
treef800a68113b86bd085046deeb09aaca3163a183e /source/blender/draw/engines/eevee/eevee_lightcache.c
parent54a4c1cf359c369c8fc16ecf0ecaa92e6f650e2f (diff)
Cleanup: use typed unsigned ints
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lightcache.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lightcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c
index dd27b53ebc8..440ee8c8264 100644
--- a/source/blender/draw/engines/eevee/eevee_lightcache.c
+++ b/source/blender/draw/engines/eevee/eevee_lightcache.c
@@ -152,9 +152,9 @@ typedef struct EEVEE_LightBake {
* \{ */
/* Return memory footprint in bytes. */
-static unsigned int eevee_lightcache_memsize_get(LightCache *lcache)
+static uint eevee_lightcache_memsize_get(LightCache *lcache)
{
- unsigned int size = 0;
+ uint size = 0;
if (lcache->grid_tx.data) {
size += MEM_allocN_len(lcache->grid_tx.data);
}