rem: UInt64            my_id = static_cast<UInt64>(arg);
add: UInt32            my_id = *static_cast<UInt32*>(arg);
context: void drawThreadProc (void *arg) {                   UInt64            my_id = static_cast<UInt64>(arg);    XWindowPtr my_win = win[my_id];        // give the window some time to open and X to settle down    // otherwise XFree might crash...        sleep(2+my_id);    dpr << "drawThead " << my_id << " started." << std::endl;        my_win->activate();           while ( ! drawThreadStop[my_id] )    {        // dpr << "draw" << std::endl;                my_win->frameInit();        my_win->resizeGL();                doCamTrans( my_id );        my_win->renderAllViewports( ract[my_id] );                // dpr << "swap" << std::endl;                my_win->swap();        my_win->frameExit();    }}