sources/format.h

changeset 66
bd28a5730fd0
parent 60
268721e6be20
child 69
eb4c25284a19
--- a/sources/format.h	Tue Dec 16 04:08:31 2014 +0200
+++ b/sources/format.h	Tue Dec 16 23:49:11 2014 +0200
@@ -40,10 +40,13 @@
 //
 FORMAT_OVERLOAD (String) { return a; }
 FORMAT_OVERLOAD (char) { return String (a); }
+FORMAT_OVERLOAD (short int) { return String::from_number (a); }
 FORMAT_OVERLOAD (int) { return String::from_number (a); }
 FORMAT_OVERLOAD (long int) { return String::from_number (a); }
 FORMAT_OVERLOAD (double) { return String::from_number (a); }
-FORMAT_OVERLOAD (size_t) { return String::from_number (a); }
+FORMAT_OVERLOAD (unsigned short int) { return String::from_number (a); }
+FORMAT_OVERLOAD (unsigned int) { return String::from_number (a); }
+FORMAT_OVERLOAD (unsigned long int) { return String::from_number (a); }
 FORMAT_OVERLOAD (const char*) { return a; }
 FORMAT_OVERLOAD (std::nullptr_t) { (void) a; return "<null pointer>"; }
 FORMAT_OVERLOAD (bool) { return a ? "true" : "false"; }

mercurial