From: André Pönitz Date: Thu, 1 Aug 2002 09:28:43 +0000 (+0000) Subject: use proper static_cast instead of this uint thingy X-Git-Tag: 1.6.10~18717 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=82d8ee5c84eefc75e7920f94677e7d2d40f01a0e;p=features.git 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 --- 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; }