Changeset 120 for trunk/src/library.cc


Ignore:
Timestamp:
06/15/13 02:05:49 (12 years ago)
Author:
epyon
Message:
  • Nova now properly compiles and works under: mingw GCC 4.6 32-bit target mingw GCC 4.6 64-bit targte clang 3.2 32-bit target (64-bit clang doesn't work under windows)
  • warning removal will follow soon
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/library.cc

    r113 r120  
    115115#if NV_PLATFORM == NV_WINDOWS
    116116    // We do hate WinAPI for code like this, don't we?
    117     LPVOID buffer;
     117    LPTSTR buffer = NULL;
    118118    FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
    119119        NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &buffer, 0, NULL );
Note: See TracChangeset for help on using the changeset viewer.