Changeset 21852 for branches/gcc-kmk/src


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.

Location:
branches/gcc-kmk/src/kernel32
Files:
2 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)
  • branches/gcc-kmk/src/kernel32/registry.cpp

    r21755 r21852  
    11021102                             DWORD  dwReserved,
    11031103                             DWORD  fdwType,
    1104                              BYTE*  lpbData,
     1104                             const BYTE *lpbData,
    11051105                             DWORD  cbData)
    11061106{
     
    11671167                             DWORD  dwReserved,
    11681168                             DWORD  fdwType,
    1169                              BYTE*  lpbData,
     1169                             const BYTE *lpbData,
    11701170                             DWORD  cbData)
    11711171{
Note: See TracChangeset for help on using the changeset viewer.