b5e264bec4
We end up passing intmax_t pointers around, but without a cast. This results in a warning. Adding a cast fixes the warning. This is in the printing logic, not the actual comparison, so hiding warnings with this cast is not a concern here. I also flipped the type we compare with to use the right-hand side. The pretty-assert code already treats the right-hand as the "expected" value (I wonder if this is an english language quirk), so I think it makes sense to use the right-hand side as the "expected" type.