diff options
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); } |