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.h | |
parent | f282cbaf968f7142ef5abb68a92e970c3d5eea35 (diff) |
Changing from long to ssize_t (int) for write(), print(), println() return.
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rw-r--r-- | cores/arduino/HardwareSerial.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index 4af8c59..960d3f5 100644 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -55,7 +55,7 @@ class HardwareSerial : public Stream virtual int peek(void); virtual int read(void); virtual void flush(void); - virtual long write(uint8_t); + virtual ssize_t write(uint8_t); using Print::write; // pull in write(str) and write(buf, size) from Print }; |