xv6-riscv icon indicating copy to clipboard operation
xv6-riscv copied to clipboard

Printf uint64 fix

Open eoin-cr opened this issue 1 year ago • 0 comments

Previously, although %l was a recognised printf parameter, it would call the printint function to print the value, thus casting the uint64 back to a regular int. This commit creates a function specifically for printing a uint64 variable using %l.

Thanks @clubby789 for the help.

eoin-cr avatar Mar 31 '23 20:03 eoin-cr