mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fix some compiler warnings
This commit is contained in:
parent
0f307122d9
commit
82f1fd57a4
23 changed files with 88 additions and 101 deletions
|
|
@ -660,7 +660,7 @@ struct iOSAudioIODevice::Pimpl : public AsyncUpdater
|
|||
result.setIsRecording (hostIsRecording);
|
||||
result.setIsLooping (hostIsCycling);
|
||||
result.setLoopPoints (LoopPoints { hostCycleStartBeat, hostCycleEndBeat });
|
||||
result.setTimeInSeconds (*result.getTimeInSamples() / impl.sampleRate);
|
||||
result.setTimeInSeconds ((double) *result.getTimeInSamples() / impl.sampleRate);
|
||||
|
||||
Float64 hostBeat = 0;
|
||||
Float64 hostTempo = 0;
|
||||
|
|
@ -707,7 +707,7 @@ struct iOSAudioIODevice::Pimpl : public AsyncUpdater
|
|||
{
|
||||
if (interAppAudioConnected)
|
||||
{
|
||||
if (UIImage* hostUIImage = AudioOutputUnitGetHostIcon (audioUnit, size))
|
||||
if (UIImage* hostUIImage = AudioOutputUnitGetHostIcon (audioUnit, (float) size))
|
||||
return juce_createImageFromUIImage (hostUIImage);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue