trigger setjmp on negative values

As the title says, this makes it so that setjmp is properly triggered when longjmp is called with a negative value.

Are there any other places in the code that may also assume that the value is unsigned?