Commit 9abde541 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

mpr: Fix a compiler warning on PowerPC.

parent 87af7e11
......@@ -39,7 +39,7 @@ static inline BYTE hex( BYTE x )
return x + 'A' - 10;
}
static inline CHAR ctox( CHAR x )
static inline signed char ctox( CHAR x )
{
if( ( x >= '0' ) && ( x <= '9' ) )
return x - '0';
......@@ -282,7 +282,7 @@ UINT WINAPI WNetEnumCachedPasswords(
/* decode the value */
for(j=5; j<val_sz; j+=2 )
{
CHAR hi = ctox( val[j] ), lo = ctox( val[j+1] );
signed char hi = ctox( val[j] ), lo = ctox( val[j+1] );
if( ( hi < 0 ) || ( lo < 0 ) )
break;
val[(j-5)/2] = (hi<<4) | lo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment