Merge pull request #3064 from wwylele/printf-warnings

Clean all format warnings
This commit is contained in:
Weiyi Wang
2017-11-05 10:32:46 +02:00
committed by GitHub
21 changed files with 109 additions and 90 deletions

View File

@@ -74,7 +74,7 @@ ResultCode AddressArbiter::ArbitrateAddress(ArbitrationType type, VAddr address,
}
default:
LOG_ERROR(Kernel, "unknown type=%d", type);
LOG_ERROR(Kernel, "unknown type=%d", static_cast<u32>(type));
return ERR_INVALID_ENUM_VALUE_FND;
}