Skip to content

Commit

Permalink
unsigned char output fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
brynne8 committed Jun 9, 2014
1 parent b6fd0e9 commit a3e4b59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/iostream
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ std::ostream& operator<< (std::ostream& os, void *val)
std::ostream& operator<< (std::ostream& os, char ch)
{ fprintf(os.hand,"%c",ch); return os; }

std::ostream& operator<< (std::ostream& os, unsigned char ch)
{ fprintf(os.hand,"%c",ch); return os; }

std::istream& operator>> (std::istream& is, int& val)
{
if (is.m_redirect) wcon_fscanf(is.hand,"%d",&val);
Expand Down

0 comments on commit a3e4b59

Please sign in to comment.