Merge pull request #8361 from jandelgado/add_udptunnel_package
[feed/packages.git] / libs / fcgi / patches / 100-fcgio-int-type-fix.patch
1 --- a/include/fcgio.h
2 +++ b/include/fcgio.h
3 @@ -77,10 +77,10 @@ protected:
4 virtual int sync();
5
6 // Remove and return the current character.
7 - virtual int uflow();
8 + virtual int_type uflow();
9
10 // Fill the get area (if buffered) and return the current character.
11 - virtual int underflow();
12 + virtual int_type underflow();
13
14 // Use a buffer. The only reasons that a buffer would be useful is
15 // to support the use of the unget()/putback() or seek() methods. Using
16 --- a/libfcgi/fcgio.cpp
17 +++ b/libfcgi/fcgio.cpp
18 @@ -86,7 +86,7 @@ int fcgi_streambuf::sync()
19 }
20
21 // uflow() removes the char, underflow() doesn't
22 -int fcgi_streambuf::uflow()
23 +std::basic_streambuf<char>::int_type fcgi_streambuf::uflow()
24 {
25 if (this->bufsize)
26 {
27 @@ -100,7 +100,7 @@ int fcgi_streambuf::uflow()
28 }
29 }
30
31 -int fcgi_streambuf::underflow()
32 +std::basic_streambuf<char>::int_type fcgi_streambuf::underflow()
33 {
34 if (this->bufsize)
35 {