summaryrefslogtreecommitdiffstats
path: root/src/kernel/qjpegio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qjpegio.cpp')
-rw-r--r--src/kernel/qjpegio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qjpegio.cpp b/src/kernel/qjpegio.cpp
index 8e2f3e2e1..153a3cee7 100644
--- a/src/kernel/qjpegio.cpp
+++ b/src/kernel/qjpegio.cpp
@@ -415,7 +415,7 @@ void qt_term_destination(j_compress_ptr cinfo)
{
my_jpeg_destination_mgr* dest = (my_jpeg_destination_mgr*)cinfo->dest;
TQIODevice* dev = dest->iio->ioDevice();
- Q_LONG n = max_buf - dest->free_in_buffer;
+ TQ_LONG n = max_buf - dest->free_in_buffer;
if ( dev->writeBlock( (char*)dest->buffer, n ) != n )
qt_exit_on_error(cinfo, dev);