]> git.jsancho.org Git - lugaru.git/commit
ImageIO: fix invalid conversion
authorRomain Naour <romain.naour@gmail.com>
Sun, 12 Feb 2017 20:17:44 +0000 (21:17 +0100)
committerRomain Naour <romain.naour@gmail.com>
Sun, 12 Feb 2017 22:38:11 +0000 (23:38 +0100)
commitbb543993bb6f1eb76519a395d9a0a10ee777d160
tree33ee63395131010e9c44bbeefb7ca257c1e5688c
parent93632bba29498fb64efa4a68c890f0fd162117ba
ImageIO: fix invalid conversion

Fixes:
Source/Utils/ImageIO.cpp:125:27: error: invalid conversion from 'int' to 'boolean' [-fpermissive]
     cinfo.quantize_colors = 0;
                           ^

quantize_colors type is bool, so it must be initialized to TRUE or FALSE.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Source/Utils/ImageIO.cpp