mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Silence a bunch of MSVC warnings
This commit is contained in:
parent
01e94ccdbb
commit
fe81590b07
3 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
}
|
||||
|
||||
/// Returns the number of gradient stops.
|
||||
int stopCount() const { return inner.size() - 1; }
|
||||
int stopCount() const { return int(inner.size()) - 1; }
|
||||
|
||||
/// Returns a pointer to the first gradient stop; undefined if the gradient has not stops.
|
||||
const GradientStop *stopsBegin() const { return inner.begin() + 1; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue