From 82d8ee5c84eefc75e7920f94677e7d2d40f01a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 1 Aug 2002 09:28:43 +0000 Subject: [PATCH] use proper static_cast instead of this uint thingy git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4823 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/GraphicsImageXPM.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/GraphicsImageXPM.C b/src/graphics/GraphicsImageXPM.C index 33e2d67e78..b0f99fb57b 100644 --- a/src/graphics/GraphicsImageXPM.C +++ b/src/graphics/GraphicsImageXPM.C @@ -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(i); } return 0; }