diff options
Diffstat (limited to 'qtools/qbuffer.cpp')
-rw-r--r-- | qtools/qbuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qbuffer.cpp b/qtools/qbuffer.cpp index beed0ba..f68ef54 100644 --- a/qtools/qbuffer.cpp +++ b/qtools/qbuffer.cpp @@ -375,7 +375,7 @@ int QBuffer::readLine( char *p, uint maxlen ) break; } *p = '\0'; - ioIndex = d - a.data(); + ioIndex = (int)(d - a.data()); return (uint)ioIndex - start; } |