core: clean up warnings

This commit is contained in:
BreadFish64 2018-07-23 16:08:14 -05:00
parent ba6eee71f5
commit 74cd98ecad
35 changed files with 82 additions and 77 deletions

View file

@ -74,7 +74,7 @@ void Module::PortConfig::Clear() {
transfer_bytes = 256;
}
void Module::CompletionEventCallBack(u64 port_id, int) {
void Module::CompletionEventCallBack(u64 port_id, s64) {
PortConfig& port = ports[port_id];
const CameraConfig& camera = cameras[port.camera_id];
const auto buffer = port.capture_result.get();
@ -1028,7 +1028,7 @@ Module::Module() {
}
completion_event_callback = CoreTiming::RegisterEvent(
"CAM::CompletionEventCallBack",
[this](u64 userdata, int cycles_late) { CompletionEventCallBack(userdata, cycles_late); });
[this](u64 userdata, s64 cycles_late) { CompletionEventCallBack(userdata, cycles_late); });
}
Module::~Module() {

View file

@ -710,7 +710,7 @@ public:
};
private:
void CompletionEventCallBack(u64 port_id, int);
void CompletionEventCallBack(u64 port_id, s64);
// Starts a receiving process on the specified port. This can only be called when is_busy = true
// and is_receiving = false.