Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 29, 2013, 4:27:05 PM (11 years ago)
Author:
landauf
Message:

fixed warnings with gcc 4.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/command/IOConsoleWindows.h

    r8858 r9676  
    8080        void printOutputLine(const std::string& line, Shell::LineType type, const COORD& pos);
    8181
    82         static inline COORD makeCOORD(int x, int y)
     82        static inline COORD makeCOORD(SHORT x, SHORT y)
    8383        {
    8484            COORD val = {x, y};
     85            return val;
     86        }
     87
     88        static inline SMALL_RECT makeSMALL_RECT(SHORT left, SHORT top, SHORT right, SHORT bottom)
     89        {
     90            SMALL_RECT val = {left, top, right, bottom};
    8591            return val;
    8692        }
Note: See TracChangeset for help on using the changeset viewer.