VirtualBox

Changeset 101881 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Nov 6, 2023 4:29:36 PM (15 months ago)
Author:
vboxsync
Message:

Additions: X11/Wayland: fix building issues with older gcc (4.1.2), bugref:10194.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/vboxwl.cpp

    r101880 r101881  
    7070/** A session ID which will be specified in communication messages
    7171 * with VBoxClient instance. */
    72 static uint32_t g_uSessionId = 0;;
     72static uint32_t g_uSessionId = 0;
    7373
    7474/** One-shot session type. */
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-ipc.h

    r101880 r101881  
    264264                     *
    265265                     * @returns IPRT status code.
    266                      * @param   flow            Pointer to selected IPC flow.
     266                     * @param   pFlow           Pointer to selected IPC flow.
    267267                     * @param   hIpcSession     IPC connection handle.
    268268                     */
    269                     int flow(const flow_t *flow, RTLOCALIPCSESSION hIpcSession)
     269                    int flow(const flow_t *pFlow, RTLOCALIPCSESSION hIpcSession)
    270270                    {
    271271                        int idx = 0;
     
    273273
    274274                        while (   RT_SUCCESS(rc)
    275                                && flow[idx].enmCmd != CMD_MAX)
     275                               && pFlow[idx].enmCmd != CMD_MAX)
    276276                        {
    277                             rc = select_fn(flow[idx].enmCmd, flow[idx].fDirection, hIpcSession);
     277                            rc = select_fn(pFlow[idx].enmCmd, pFlow[idx].fDirection, hIpcSession);
    278278                            idx++;
    279279                        }
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper.h

    r101878 r101881  
    9090    VBCL_WL_CLIPBOARD_SESSION_TYPE_ANNOUNCE_TO_HOST,
    9191    /** Copy clipboard data to the host. */
    92     VBCL_WL_CLIPBOARD_SESSION_TYPE_COPY_TO_HOST,
     92    VBCL_WL_CLIPBOARD_SESSION_TYPE_COPY_TO_HOST
    9393} vbcl_wl_session_type_t;
    9494
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette