diff --git a/util/amisc/aslod.c b/util/amisc/aslod.c index b761898d4..80c92d3c6 100644 --- a/util/amisc/aslod.c +++ b/util/amisc/aslod.c @@ -23,6 +23,9 @@ #include #include #include +#include +#include +#include #include "out.h" #define ASSERT(x) switch (2) { case 0: case (x): ; } @@ -300,11 +303,11 @@ int main(int argc, char* argv[]) { long ss = 0; - printf(" base : %08lX\n", outsect[TEXT].os_base) ; - printf(" text = %08lX\n", outsect[TEXT].os_size); - printf(" rom = %08lX\n", outsect[ROM].os_size); - printf(" data = %08lX\n", outsect[DATA].os_size); - printf(" bss = %08lX\n", outsect[BSS].os_size); + printf(" base : "PRIu32"\n", outsect[TEXT].os_base) ; + printf(" text = "PRIu32"\n", outsect[TEXT].os_size); + printf(" rom = "PRIu32"\n", outsect[ROM].os_size); + printf(" data = "PRIu32"\n", outsect[DATA].os_size); + printf(" bss = "PRIu32"\n", outsect[BSS].os_size); ss += outsect[TEXT].os_size; ss += outsect[ROM].os_size; ss += outsect[DATA].os_size;