VirtualBox

Changeset 98301 in vbox for trunk/src


Ignore:
Timestamp:
Jan 25, 2023 8:24:47 AM (2 years ago)
Author:
vboxsync
Message:

FE/SDL. bugref:9449. Initializing SDL_TimerID with 0, not NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r98246 r98301  
    236236static Cursor      gpDefaultOrigX11Cursor;
    237237#endif
    238 static SDL_Cursor *gpCustomCursor = NULL;
     238static SDL_Cursor *gpCustomCursor = 0;
    239239#ifndef VBOX_WITH_SDL2
    240240static WMcursor   *gpCustomOrigWMcursor = NULL;
    241241#endif
    242242static SDL_Cursor *gpOffCursor = NULL;
    243 static SDL_TimerID gSdlResizeTimer = NULL;
    244 static SDL_TimerID gSdlQuitTimer = NULL;
     243static SDL_TimerID gSdlResizeTimer = 0;
     244static SDL_TimerID gSdlQuitTimer = 0;
    245245
    246246#if defined(VBOXSDL_WITH_X11) && !defined(VBOX_WITH_SDL2)
     
    50035003    BOOL fHandled = FALSE;
    50045004
    5005     gSdlQuitTimer = NULL;
     5005    gSdlQuitTimer = 0;
    50065006    if (gpConsole)
    50075007    {
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