I’m running it on a 32-bit emulator, maybe that’s the issue here? i don’t know honestly

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Maybe. It’s a type error. The -1 can’t go into an unsigned type, because the “-” is the sign.

    I’m afraid to be sure you’re doing it right, you have to understand the surrounding code.

    But possible fixes include:

    • Changing -1 to an unsigned number.

    • Changing the type of the variable it goes into.

    • Something entirely different, maybe even deleting that part of the code.