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

  • lurch (he/him)
    link
    fedilink
    English
    23 days 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.