Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    kernel/thread: Avoid sign conversion within GetCommandBufferAddress() · 2d70c30f
    Lioncash authored
    Previously this was performing a u64 + int sign conversion. When dealing
    with addresses, we should generally be keeping the arithmetic in the
    same signedness type.
    
    This also gets rid of the static lifetime of the constant, as there's no
    need to make a trivial type like this potentially live for the entire
    duration of the program.
    2d70c30f