a = (unsigned int)atoi(arg1); b = (unsigned int)atoi(arg2);
Assuming that a and b can be signed.
I want to convert a 4 byte signed integer into a 4 byte unsigned integer.
You can try
a = arg1>>>0, but I’m not sure it will do what you are looking for.
See this question for more details.