mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 06:09:47 +02:00
Use long long for argument passed to wxString::ToLongLong
This commit is contained in:
parent
2949a080d2
commit
bf66e4410a
@ -792,8 +792,6 @@ sampleCount Sequence::GetBestBlockSize(sampleCount start) const
|
||||
|
||||
bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||
{
|
||||
sampleCount nValue;
|
||||
|
||||
/* handle waveblock tag and its attributes */
|
||||
if (!wxStrcmp(tag, wxT("waveblock"))) {
|
||||
SeqBlock wb;
|
||||
@ -804,6 +802,8 @@ bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||
const wxChar *attr = *attrs++;
|
||||
const wxChar *value = *attrs++;
|
||||
|
||||
long long nValue = 0;
|
||||
|
||||
if (!value)
|
||||
break;
|
||||
|
||||
@ -857,6 +857,8 @@ bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||
if (!value)
|
||||
break;
|
||||
|
||||
long long nValue = 0;
|
||||
|
||||
const wxString strValue = value; // promote string, we need this for all
|
||||
|
||||
if (!wxStrcmp(attr, wxT("maxsamples")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user