mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Fix minor issues when building for 64-bit Windows
This commit is contained in:
parent
99aded10f5
commit
85219e371c
@ -334,7 +334,7 @@ void DirManager::RecursivelyRemove(const FilePaths& filePathArray, int count, in
|
||||
}
|
||||
}
|
||||
if (progress)
|
||||
progress->Update(ii + bias, count);
|
||||
progress->Update(ii + bias, (size_t) count);
|
||||
}
|
||||
}
|
||||
|
||||
@ -690,7 +690,7 @@ DirManager::ProjectSetter::Impl::Impl(
|
||||
ProgressDialog progress(XO("Progress"),
|
||||
XO("Saving project data files"));
|
||||
|
||||
int total = dirManager.mBlockFileHash.size();
|
||||
size_t total = dirManager.mBlockFileHash.size();
|
||||
|
||||
bool link = moving;
|
||||
for (const auto &pair : dirManager.mBlockFileHash) {
|
||||
|
@ -425,7 +425,7 @@ private:
|
||||
void RegenerateEffectsList(int iShowWhat);
|
||||
void SetState(int i, bool toggle, bool state = true);
|
||||
|
||||
static int wxCALLBACK SortCompare(long item1, long item2, long sortData);
|
||||
static int wxCALLBACK SortCompare(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData);
|
||||
int SortCompare(ItemData *item1, ItemData *item2);
|
||||
|
||||
void OnChangedVisibility(wxCommandEvent & evt);
|
||||
@ -817,7 +817,7 @@ void PluginRegistrationDialog::SetState(int i, bool toggle, bool state)
|
||||
}
|
||||
}
|
||||
|
||||
int wxCALLBACK PluginRegistrationDialog::SortCompare(long item1, long item2, long sortData)
|
||||
int wxCALLBACK PluginRegistrationDialog::SortCompare(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData)
|
||||
{
|
||||
PluginRegistrationDialog *dlg = (PluginRegistrationDialog *) sortData;
|
||||
ItemData *i1 = (ItemData *) item1;
|
||||
|
@ -372,7 +372,7 @@ void ShuttleGetAutomation::Define( int & var, const wxChar * key, const int
|
||||
void ShuttleGetAutomation::Define( size_t & var, const wxChar * key, const int vdefault, const int vmin, const int vmax, const int vscl )
|
||||
{
|
||||
if( !ShouldSet() ) return;
|
||||
mpEap->Write(key, var);
|
||||
mpEap->Write(key, (int) var);
|
||||
}
|
||||
|
||||
void ShuttleGetAutomation::Define( double & var, const wxChar * key, const float vdefault, const float vmin, const float vmax, const float vscl )
|
||||
|
Loading…
x
Reference in New Issue
Block a user