diff options
Diffstat (limited to '')
| -rw-r--r-- | src/formatter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/formatter.cpp b/src/formatter.cpp index 17fb311..61a059a 100644 --- a/src/formatter.cpp +++ b/src/formatter.cpp | |||
| @@ -351,7 +351,8 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &f, const Bu::String &sStr ) | |||
| 351 | 351 | ||
| 352 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, signed char c ) | 352 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, signed char c ) |
| 353 | { | 353 | { |
| 354 | f.write( (char *)&c, 1 ); | 354 | f.ifmt<signed char>( c ); |
| 355 | //f.write( (char *)&c, 1 ); | ||
| 355 | return f; | 356 | return f; |
| 356 | } | 357 | } |
| 357 | 358 | ||
| @@ -363,7 +364,8 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &f, char c ) | |||
| 363 | 364 | ||
| 364 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, unsigned char c ) | 365 | Bu::Formatter &Bu::operator<<( Bu::Formatter &f, unsigned char c ) |
| 365 | { | 366 | { |
| 366 | f.write( (char *)&c, 1 ); | 367 | f.ifmt<unsigned char>( c ); |
| 368 | //f.write( (char *)&c, 1 ); | ||
| 367 | return f; | 369 | return f; |
| 368 | } | 370 | } |
| 369 | 371 | ||
