bugfix (affected x86_64 only)
authorladanyi
Fri, 14 Oct 2005 10:53:35 +0000
changeset 17222acb5f9bfa72
parent 1721 c0f5e8401373
child 1723 fb4f801dd692
bugfix (affected x86_64 only)
lemon/lemon_reader.h
     1.1 --- a/lemon/lemon_reader.h	Fri Oct 14 10:52:15 2005 +0000
     1.2 +++ b/lemon/lemon_reader.h	Fri Oct 14 10:53:35 2005 +0000
     1.3 @@ -274,7 +274,7 @@
     1.4  	_eptr = buf + len;
     1.5        }
     1.6    
     1.7 -      virtual std::streambuf* setbuf(char *buf, int len) {
     1.8 +      virtual std::streambuf* setbuf(char *buf, std::streamsize len) {
     1.9  	if (base()) return 0;
    1.10  	if (buf != 0 && len >= (int)sizeof(small_buf)) {
    1.11  	  setb(buf, len);