Changeset 81887b7 in mainline for src/debug/print.c


Ignore:
Timestamp:
2005-08-30T08:59:22Z (20 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
00e00fa
Parents:
1fbbcd6
Message:

Bugs in printf and va_arg functions repaired.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/debug/print.c

    r1fbbcd6 r81887b7  
    6767 *
    6868 */
    69 void print_fixed_hex(const __native num, const int width)
     69void print_fixed_hex(const __u64 num, const int width)
    7070{
    7171        int i;
     
    187187                                        print_str("0x");
    188188                                case 'q':
    189                                         print_fixed_hex(va_arg(ap, __native), INT64);
     189                                        print_fixed_hex(va_arg(ap, __u64), INT64);
    190190                                        goto loop;
    191191
Note: See TracChangeset for help on using the changeset viewer.