diff options
Diffstat (limited to 'src/tools/qdatastream.cpp')
-rw-r--r-- | src/tools/qdatastream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdatastream.cpp b/src/tools/qdatastream.cpp index 3359d68bc..deab90bb6 100644 --- a/src/tools/qdatastream.cpp +++ b/src/tools/qdatastream.cpp @@ -810,7 +810,7 @@ TQDataStream &TQDataStream::readBytes( char *&s, uint &l ) return *this; } else { s = new char[len]; // create char array - Q_CHECK_PTR( s ); + TQ_CHECK_PTR( s ); if ( !s ) // no memory return *this; return readRawBytes( s, (uint)len ); @@ -1115,7 +1115,7 @@ TQDataStream &TQDataStream::operator<<( const char *s ) *this << (Q_UINT32)0; return *this; } - uint len = qstrlen( s ) + 1; // also write null terminator + uint len = tqstrlen( s ) + 1; // also write null terminator *this << (Q_UINT32)len; // write length specifier return writeRawBytes( s, len ); } |