From 189c7bae673fd5e99d46f9522151a354ad044455 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 10 Jul 2018 09:04:01 -0400 Subject: [PATCH] Fix a necessary type cast. --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index da6eebbe8..f8699c3d7 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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(itone0),&itype,22,22); msgsent[22]=0; bool text=false; bool shortMsg=false;