aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-25 18:02:10 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-25 18:02:10 -0400
commitac509ea796f907dc27841a1e4cfa74c2a3285d6a (patch)
treec2b603d3305afb9d4570588c4d9ec3b27de2427b
parentfd26797490c9c78cce4d4a1894f9413f3c858f2d (diff)
downloadlibrambutan-ac509ea796f907dc27841a1e4cfa74c2a3285d6a.tar.gz
librambutan-ac509ea796f907dc27841a1e4cfa74c2a3285d6a.zip
Minor Print cleanups.
-rw-r--r--wirish/Print.cpp8
-rw-r--r--wirish/Print.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/wirish/Print.cpp b/wirish/Print.cpp
index 3d7e836..cfb2cda 100644
--- a/wirish/Print.cpp
+++ b/wirish/Print.cpp
@@ -21,7 +21,8 @@
* Modified 12 April 2011 by Marti Bolivar <mbolivar@leaflabs.com>
*/
-#include <math.h>
+#include "Print.h"
+
#include <limits.h>
#ifndef LLONG_MAX
@@ -39,8 +40,7 @@
#define LLONG_MAX 9223372036854775807LL
#endif
-#include "wirish.h"
-#include "Print.h"
+#include "wirish_math.h"
/*
* Public methods
@@ -64,7 +64,7 @@ void Print::print(uint8 b) {
}
void Print::print(char c) {
- print((byte)c);
+ print((uint8)c);
}
void Print::print(const char str[]) {
diff --git a/wirish/Print.h b/wirish/Print.h
index a4a93bf..ec7b163 100644
--- a/wirish/Print.h
+++ b/wirish/Print.h
@@ -23,7 +23,7 @@
#ifndef _PRINT_H_
#define _PRINT_H_
-#include <libmaple_types.h>
+#include "libmaple_types.h"
enum {
BYTE = 0,