summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyfstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyfstream.h b/src/pyfstream.h
index 37978ff4..2fb9e1a7 100644
--- a/src/pyfstream.h
+++ b/src/pyfstream.h
@@ -170,7 +170,7 @@ protected:
if (num == 0)
return EOF;
- memmove (buffer+pbSize, PyString_AsString(line), num);
+ memmove(buffer+pbSize, PyString_AsString(line), static_cast<size_t>(num));
// reset buffer pointers
setg (buffer+(pbSize-numPutback), // beginning of putback area