mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 08:41:46 +00:00
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:
parent
48929cbcc8
commit
82d8ee5c84
@ -559,7 +559,7 @@ unsigned int ImageXPM::Data::color_none_id() const
|
|||||||
for (size_t i = 0; i < ncolors_; ++i) {
|
for (size_t i = 0; i < ncolors_; ++i) {
|
||||||
char const * const color = table[i].c_color;
|
char const * const color = table[i].c_color;
|
||||||
if (color && ascii_lowercase(color) == "none")
|
if (color && ascii_lowercase(color) == "none")
|
||||||
return uint(i);
|
return static_cast<unsigned int>(i);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user