Ignore:
Timestamp:
06/20/15 00:05:17 (10 years ago)
Author:
epyon
Message:
  • code compiles cleanly on maximum warning level
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sdl/sdl_input.cc

    r395 r406  
    2525        kevent.key.code    = KEY_NONE;
    2626
    27         uint32 ucode = (uint32)ke.keysym.sym;
     27        uint32 ucode = static_cast<uint32>( ke.keysym.sym );
    2828
    2929        // if result is a typable char place it into the structure
     
    3636                        int capslock = !!(ke.keysym.mod & KMOD_CAPS);
    3737                        if ((shifted ^ capslock) != 0) {
    38                                 kevent.key.ascii = (uchar8)SDL_toupper((int)ucode);
     38                                kevent.key.ascii = static_cast<uchar8>( SDL_toupper( static_cast<int>( ucode ) ) );
    3939                        }
    4040                }
Note: See TracChangeset for help on using the changeset viewer.