Skip to content

Commit 82de384

Browse files
committed
test
1 parent 5605485 commit 82de384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widgets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ void CompilerWindow::initMenuBar() {
222222
const vector<string> exe_argv = {exe_name};
223223
int rpid, rinputId, routputId, rerrId;
224224
Glib::spawn_async_with_pipes("", exe_argv, SPAWN_DEFAULT, SlotSpawnChildSetup(),
225-
&rpid, &rinputId, &routputId, &rerrId);
225+
reinterpret_cast<Pid *>(&rpid), &rinputId, &routputId, &rerrId);
226226
// 在窗口的线程池执行
227227
window->setStatus(M_STATUS::IN_RUNNING);
228228
boost::asio::post(window->threads, [=]() {

0 commit comments

Comments
 (0)