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.

39 lines
1.1 KiB

  1. diff --git a/include/fcgio.h b/include/fcgio.h
  2. index 20d222a..92eda3c 100644
  3. --- a/include/fcgio.h
  4. +++ b/include/fcgio.h
  5. @@ -77,10 +77,10 @@ protected:
  6. virtual int sync();
  7. // Remove and return the current character.
  8. - virtual int uflow();
  9. + virtual int_type uflow();
  10. // Fill the get area (if buffered) and return the current character.
  11. - virtual int underflow();
  12. + virtual int_type underflow();
  13. // Use a buffer. The only reasons that a buffer would be useful is
  14. // to support the use of the unget()/putback() or seek() methods. Using
  15. diff --git a/libfcgi/fcgio.cpp b/libfcgi/fcgio.cpp
  16. index 5a54c11..e57b622 100644
  17. --- a/libfcgi/fcgio.cpp
  18. +++ b/libfcgi/fcgio.cpp
  19. @@ -89,7 +89,7 @@ int fcgi_streambuf::sync()
  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. @@ -103,7 +103,7 @@ int fcgi_streambuf::uflow()
  28. }
  29. }
  30. -int fcgi_streambuf::underflow()
  31. +std::basic_streambuf<char>::int_type fcgi_streambuf::underflow()
  32. {
  33. if (this->bufsize)
  34. {