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
commit 4fc0448093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}