Avoid compiler casting warnings by assigning to the same type where possible
This saves instructions that are related to casting as well as compiler warnings.
This commit is contained in:
@@ -35,7 +35,7 @@ int
|
||||
sudo_hexchar_v1(const char *s)
|
||||
{
|
||||
unsigned char result[2];
|
||||
int i;
|
||||
unsigned int i;
|
||||
debug_decl(sudo_hexchar, SUDO_DEBUG_UTIL);
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
|
Reference in New Issue
Block a user