Subversion Repositories HelenOS-historic

Rev

Rev 66 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 66 Rev 68
Line 82... Line 82...
82
 * @param num  Number to print.
82
 * @param num  Number to print.
83
 * @param base Base to print the number in (should
83
 * @param base Base to print the number in (should
84
 *             be in range 2 .. 16).
84
 *             be in range 2 .. 16).
85
 *
85
 *
86
 */
86
 */
87
void print_number(const __native num, const int base)
87
void print_number(const __native num, const unsigned int base)
88
{
88
{
89
    int val = num;
89
    int val = num;
90
    char d[sizeof(__native)*8+1];       /* this is good enough even for base == 2 */
90
    char d[sizeof(__native)*8+1];       /* this is good enough even for base == 2 */
91
        int i = sizeof(__native)*8-1;
91
    int i = sizeof(__native)*8-1;
92
   
92