diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-08-26 14:20:41 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-08-26 14:20:41 -0400 |
commit | 0635790dd111e91e5c488acc599cc404dc707abd (patch) | |
tree | 1a473974a816701f1396c63786ff29dddf008565 /cores/arduino/HardwareSerial.cpp | |
parent | f282cbaf968f7142ef5abb68a92e970c3d5eea35 (diff) |
Changing from long to ssize_t (int) for write(), print(), println() return.
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
-rw-r--r-- | cores/arduino/HardwareSerial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index a200da5..641c973 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -352,7 +352,7 @@ void HardwareSerial::flush() ; } -long HardwareSerial::write(uint8_t c) +ssize_t HardwareSerial::write(uint8_t c) { int i = (_tx_buffer->head + 1) % SERIAL_BUFFER_SIZE; |