use proper static_cast<unsigned int> instead of this uint thingy

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4823 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-01 09:28:43 +00:00
parent 48929cbcc8
commit 82d8ee5c84

View 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;
}