summaryrefslogtreecommitdiffstats
path: root/libkmime/tests/test_kmime_codec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/tests/test_kmime_codec.cpp')
-rw-r--r--libkmime/tests/test_kmime_codec.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkmime/tests/test_kmime_codec.cpp b/libkmime/tests/test_kmime_codec.cpp
index e30a89ac9..68ab08ec7 100644
--- a/libkmime/tests/test_kmime_codec.cpp
+++ b/libkmime/tests/test_kmime_codec.cpp
@@ -239,8 +239,8 @@ void encode_decode_convenience_qba( bool encode, const Codec * codec,
else
out = codec->decode( infile_buffer, withCRLF );
if ( writing ) {
- Q_LONG written = outfile.writeBlock( out );
- assert( written == (Q_LONG)out.size() );
+ TQ_LONG written = outfile.writeBlock( out );
+ assert( written == (TQ_LONG)out.size() );
}
}
@@ -304,8 +304,8 @@ void encode_decode_kio( bool encode, const Codec * codec,
else
decode_kio_internal( dec, iit, iend, out );
if ( writing && out.size() ) {
- Q_LONG written = outfile.writeBlock( out );
- assert( written == (Q_LONG)out.size() );
+ TQ_LONG written = outfile.writeBlock( out );
+ assert( written == (TQ_LONG)out.size() );
}
} while ( out.size() );
@@ -329,7 +329,7 @@ void encode_decode_chunkwise( bool encode, const Codec * codec,
#define write_full_outdata_then_reset do { \
kdDebug( verbose ) << " flushing output buffer." << endl; \
if ( writing ) { \
- Q_LONG outlen = outfile.writeBlock( outdata.data(), \
+ TQ_LONG outlen = outfile.writeBlock( outdata.data(), \
outdata.size() ); \
if ( outlen != (int)outdata.size() ) \
exit(OUTFILE_WRITE_ERR); \
@@ -432,7 +432,7 @@ void encode_decode_chunkwise( bool encode, const Codec * codec,
// Write out last (partial) output chunk:
//
if ( writing ) {
- Q_LONG outlen = outfile.writeBlock( outdata.data(),
+ TQ_LONG outlen = outfile.writeBlock( outdata.data(),
oit - outdata.begin() );
if ( outlen != oit - outdata.begin() )
exit(OUTFILE_WRITE_ERR);