The best way to handle this "problem" would be to use variables of the same type.
If for example your "domain size" is small enough be held in your signed type, you could use a signed type instead of the unsigned type. You could do checks to insure the variable is never assigned a negative value.
Is the error you reported the complete warning/error listing? Are there any other errors or warnings?