mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 20:27:31 +08:00
Reduce amount of warnings with pedantic compiler (#291)
This commit is contained in:
parent
aea67743d4
commit
d549cdabb0
@ -124,7 +124,7 @@ struct Canvas {
|
||||
};
|
||||
|
||||
struct XYHash {
|
||||
size_t operator()(const XY& xy) const { return xy.x * 1024 + xy.y; }
|
||||
size_t operator()(const XY& xy) const { return static_cast<size_t>(xy.x * 1024 + xy.y); }
|
||||
};
|
||||
|
||||
int width_ = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user