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:
authorJeroen Bakker <jeroen@blender.org>2021-03-19 19:11:40 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-19 19:11:47 +0300
commita9e64d8613cc9f1286cece0e963562e57f48e233 (patch)
tree4c02ed065203cb5317749d0c2306537a737ed8e6 /source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc
parentb9d2e2ec973903eba5146fb078b0a41afbd77e1c (diff)
Cleanup: Use uint8_t for num of channels.
Diffstat (limited to 'source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc
index 922d6a859a3..4dded61fba5 100644
--- a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc
+++ b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cc
@@ -122,7 +122,7 @@ void FastGaussianBlurOperation::IIR_gauss(MemoryBuffer *src,
unsigned int x, y, sz;
unsigned int i;
float *buffer = src->getBuffer();
- const unsigned int num_channels = src->get_num_channels();
+ const uint8_t num_channels = src->get_num_channels();
// <0.5 not valid, though can have a possibly useful sort of sharpening effect
if (sigma < 0.5f) {