Fix a necessary type cast.

This commit is contained in:
Joe Taylor 2018-07-10 09:04:01 -04:00
parent bc7dbd025a
commit 189c7bae67

View File

@ -4866,7 +4866,7 @@ void MainWindow::msgtype(QString t, QLineEdit* tx) //msgtype()
QByteArray s=t.toUpper().toLocal8Bit();
ba2msg(s,message);
int ichk=1,itype=0;
gen65_(message,&ichk,msgsent,itone0,&itype,22,22);
gen65_(message,&ichk,msgsent,const_cast<int*>(itone0),&itype,22,22);
msgsent[22]=0;
bool text=false;
bool shortMsg=false;