You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
973 B

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