diff options
Diffstat (limited to 'src/GCodes/GCodeInput.cpp')
-rw-r--r-- | src/GCodes/GCodeInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeInput.cpp b/src/GCodes/GCodeInput.cpp index 3a6f6227..e4787fbd 100644 --- a/src/GCodes/GCodeInput.cpp +++ b/src/GCodes/GCodeInput.cpp @@ -13,7 +13,7 @@ bool GCodeInput::FillBuffer(GCodeBuffer *gb) { - size_t bytesToPass = min<size_t>(BytesCached(), GCODE_LENGTH); + const size_t bytesToPass = min<size_t>(BytesCached(), GCODE_LENGTH); for (size_t i = 0; i < bytesToPass; i++) { const char c = ReadByte(); |