wok-next view xfe/stuff/gcc-4.patch @ rev 17821
Up: firefox-official (36.0.4): fix CVE-2015-0818; up: tzdata (2015b).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 22 11:05:54 2015 +0200 (2015-03-22) |
parents | |
children |
line source
1 --- src/ViewWindow.cpp Thu Sep 24 14:54:17 2009
2 +++ src/ViewWindow.cpp Thu Sep 24 14:55:42 2009
3 @@ -655,7 +655,7 @@
4 {
5 FXString buf=viewer->getText();
6 const char* text=buf.text();
7 - char *p = strstr(&text[pos],str.text());
8 + const char *p = strstr(&text[pos],str.text());
9 if(!p)
10 return -1;
11 return (p-text);