diff options
Diffstat (limited to 'src/FbTk/TextureRender.cc')
-rw-r--r-- | src/FbTk/TextureRender.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc index 73c1a94..116142d 100644 --- a/src/FbTk/TextureRender.cc +++ b/src/FbTk/TextureRender.cc | |||
@@ -68,7 +68,7 @@ TextureRender::TextureRender(ImageControl &imgctrl, | |||
68 | XColor *_colors, size_t num_colors): | 68 | XColor *_colors, size_t num_colors): |
69 | control(imgctrl), | 69 | control(imgctrl), |
70 | colors(_colors), | 70 | colors(_colors), |
71 | ncolors(ncolors), | 71 | ncolors(static_cast<int>(num_colors)), |
72 | cpc(imgctrl.colorsPerChannel()), | 72 | cpc(imgctrl.colorsPerChannel()), |
73 | cpccpc(cpc * cpc), | 73 | cpccpc(cpc * cpc), |
74 | red(0), green(0), blue(0), | 74 | red(0), green(0), blue(0), |