mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix -Wtype-limits warnings and remove disabling of -Wtype-limits
This commit is contained in:
parent
5038b9aaec
commit
3993102e88
6 changed files with 20 additions and 18 deletions
|
@ -1859,7 +1859,7 @@ void imageTransform(u32 transform, video::IImage *src, video::IImage *dst)
|
|||
core::dimension2d<u32> dstdim = dst->getDimension();
|
||||
|
||||
assert(dstdim == imageTransformDimension(transform, srcdim));
|
||||
assert(transform >= 0 && transform <= 7);
|
||||
assert(transform <= 7);
|
||||
|
||||
/*
|
||||
Compute the transformation from source coordinates (sx,sy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue