aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Printable.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-08-26 14:20:41 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-08-26 14:20:41 -0400
commit0635790dd111e91e5c488acc599cc404dc707abd (patch)
tree1a473974a816701f1396c63786ff29dddf008565 /cores/arduino/Printable.h
parentf282cbaf968f7142ef5abb68a92e970c3d5eea35 (diff)
Changing from long to ssize_t (int) for write(), print(), println() return.
Diffstat (limited to 'cores/arduino/Printable.h')
-rw-r--r--cores/arduino/Printable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Printable.h b/cores/arduino/Printable.h
index 6814ee4..9065904 100644
--- a/cores/arduino/Printable.h
+++ b/cores/arduino/Printable.h
@@ -30,7 +30,7 @@ class Print;
class Printable
{
public:
- virtual long printTo(Print& p) const = 0;
+ virtual ssize_t printTo(Print& p) const = 0;
};
#endif