Ignore:
Timestamp:
Dec 6, 2011, 3:49:31 PM (14 years ago)
Author:
dmik
Message:

Make 5th arg of RegSetValueEx const.

For compatibility with the current MS declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/conprop2.cpp

    r21737 r21852  
    281281#define REGSAVEVALUE(name,var) \
    282282  lRes = RegSetValueExA(hkConsole, name, 0, REG_DWORD, \
    283                  (LPBYTE)&pConsoleOptions->var, sizeof(pConsoleOptions->var));
     283                 (const BYTE *)&pConsoleOptions->var, sizeof(pConsoleOptions->var));
    284284
    285285  REGSAVEVALUE("AutomaticTermination",     fTerminateAutomatically)
Note: See TracChangeset for help on using the changeset viewer.