dlangui
dlangui copied to clipboard
deprecation + integer overflow
Hi,
Using recent DMD a deprecation shows for using an int to hold the index in a foreach. So far I've found 3 places:
- src/dlangui/graphics/ftfonts.d L541
- src/dlangui/widgets/editors.d L3447
- src/dlangui/widgets/editors.d L3797
Those could turn into integer overflow if the length is very large so even though it's unlikely I think it's a clear logic bug.