Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/print/print2.c

    ra4fb8d60 re330da6e  
    2828
    2929#include <print.h>
    30 #include <stddef.h>
    3130#include <test.h>
    3231
     
    6261        TPRINTF("Real output:     [%td] [%tu] [%tx] [%ti] [%to]\n\n", d, neg_d, neg_d, d, neg_d);
    6362       
    64         sysarg_t nat = 0x12345678;
     63        sysarg_t nat = UINTN_C(0x12345678);
    6564       
    6665        TPRINTF("Testing printf(\"%%#" PRIx64 " %%#" PRIx32 " %%#" PRIx16 " %%#" PRIx8 " %%#" PRIxn " %%#" PRIx64 " %%s\", (uint64_t) UINT64_C(0x1234567887654321), (uint32_t) UINT32_C(0x12345678), (uint16_t) UINT16_C(0x1234), (uint8_t) UINT8_C(0x12), nat, (uint64_t) UINT64_C(0x1234567887654321), \"Lovely string\"):\n");
Note: See TracChangeset for help on using the changeset viewer.