1 Fix an overflow when the amount of requested cache memory
2 is greater than the *lowest value
3 Manuel Teira <manuel.teira@telefonica.net>
6 # Patch managed by http://www.holgerschurig.de/patcher.html
9 --- qt-2.3.10/src/kernel/qgfxlinuxfb_qws.cpp~fix-linuxfb-offscreenoverflow
10 +++ qt-2.3.10/src/kernel/qgfxlinuxfb_qws.cpp
13 // No free blocks in already-taken memory; get some more
15 + if ( amount >= (*lowest ) ) {
16 + //Avoid this overflow
20 unsigned int newlowest = (*lowest)-amount;
21 if (newlowest % align) {