diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-01-20 13:31:30 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-01-20 13:31:30 (GMT) |
commit | dcd4714c4413348d02eb7224dafee5d06be43dfb (patch) | |
tree | 3872f0367bbee22883a702d1d2f799c9a9c2e8ac /qtools/qiodevice.cpp | |
parent | 775ab3be95c02dd805aadc73ffbe3c18877c12a4 (diff) | |
download | Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.zip Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.tar.gz Doxygen-dcd4714c4413348d02eb7224dafee5d06be43dfb.tar.bz2 |
Release-1.8.3.1
Diffstat (limited to 'qtools/qiodevice.cpp')
-rw-r--r-- | qtools/qiodevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qiodevice.cpp b/qtools/qiodevice.cpp index 43b2787..b52475c 100644 --- a/qtools/qiodevice.cpp +++ b/qtools/qiodevice.cpp @@ -593,7 +593,7 @@ int QIODevice::readLine( char *data, uint maxlen ) break; } *p++ = '\0'; - return (int)((long)p - (long)data); + return (int)((intptr_t)p - (intptr_t)data); } |