]> git.lyx.org Git - features.git/commitdiff
use proper static_cast<unsigned int> instead of this uint thingy
authorAndré Pönitz <poenitz@gmx.net>
Thu, 1 Aug 2002 09:28:43 +0000 (09:28 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 1 Aug 2002 09:28:43 +0000 (09:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4823 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/GraphicsImageXPM.C

index 33e2d67e7885942b580e0b34e00d1a67af06f330..b0f99fb57b8ae07b2375a895d5c3637a856bc7dc 100644 (file)
@@ -559,7 +559,7 @@ unsigned int ImageXPM::Data::color_none_id() const
        for (size_t i = 0; i < ncolors_; ++i) {
                char const * const color = table[i].c_color;
                if (color && ascii_lowercase(color) == "none")
-                       return uint(i);
+                       return static_cast<unsigned int>(i);
        }
        return 0;
 }