Blame okular-gcc-overflow.patch
|
Rex Dieter |
c5193ec |
diff -up okular-4.9.5/generators/dvi/special.cpp.me okular-4.9.5/generators/dvi/special.cpp
|
|
Rex Dieter |
c5193ec |
--- okular-4.9.5/generators/dvi/special.cpp.me 2013-01-30 17:57:45.269341954 +0100
|
|
Rex Dieter |
c5193ec |
+++ okular-4.9.5/generators/dvi/special.cpp 2013-01-31 13:23:54.897936518 +0100
|
|
Rex Dieter |
c5193ec |
@@ -480,7 +480,7 @@ void dviRenderer::TPIC_addPath_special(c
|
|
Rex Dieter |
c5193ec |
if (TPIC_path.size() == 0)
|
|
Rex Dieter |
c5193ec |
number_of_elements_in_path = 0;
|
|
Rex Dieter |
c5193ec |
if (TPIC_path.size() == number_of_elements_in_path)
|
|
Rex Dieter |
c5193ec |
- TPIC_path.resize(number_of_elements_in_path+100);
|
|
Rex Dieter |
c5193ec |
+ TPIC_path.resize(number_of_elements_in_path+100U);
|
|
Rex Dieter |
c5193ec |
TPIC_path.setPoint(number_of_elements_in_path++, x, y);
|
|
Rex Dieter |
c5193ec |
}
|
|
Rex Dieter |
c5193ec |
|