Commit 149d7445e0a4ffa444596d07e072dd8beddd959b
1 parent
2189b57d9a
Exists in
master
and in
2 other branches
컴파일 경고 제거
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/gui/oven_control/config.cpp
| ... | ... | @@ -166,7 +166,7 @@ bool Config::loadConfig(){ |
| 166 | 166 | saveConfig(); |
| 167 | 167 | return false; |
| 168 | 168 | } |
| 169 | - if(buff[sizeof(config_lists)] ==0x9c){ | |
| 169 | + if((unsigned char) buff[sizeof(config_lists)] ==0x9c){ | |
| 170 | 170 | memcpy(configlist.data,buff,sizeof(config_lists)); |
| 171 | 171 | qDebug() << "loading config file success"; |
| 172 | 172 | } | ... | ... |
app/gui/oven_control/fileprocessdlg.cpp
| ... | ... | @@ -676,7 +676,7 @@ void FileProcessDlg::configUpload(){ |
| 676 | 676 | QTimer::singleShot(1000,this,SLOT(close())); |
| 677 | 677 | return; |
| 678 | 678 | } |
| 679 | - if(buff[sizeof(config_lists)] != 0x9C){ | |
| 679 | + if((unsigned char) buff[sizeof(config_lists)] != 0x9C){ | |
| 680 | 680 | qDebug() << "SRC config.ini file check fail"; |
| 681 | 681 | ui->ctrLbRemainTime->setText(tr("설정 업로드에 실패하였습니다.")); |
| 682 | 682 | QTimer::singleShot(1000,this,SLOT(close())); | ... | ... |