Ignore:
Timestamp:
Mar 2, 2001, 1:48:41 PM (25 years ago)
Author:
bird
Message:

Fixed CL compiler bugs.
And new toolkit boog.

Location:
trunk/src/win32k/dev16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev16/d16init.c

    r4787 r5283  
    1 /* $Id: d16init.c,v 1.9 2000-12-11 06:53:48 bird Exp $
     1/* $Id: d16init.c,v 1.10 2001-03-02 12:48:41 bird Exp $
    22 *
    33 * d16init - init routines for both drivers.
     
    9898    USHORT          usAction = 0;
    9999    NPSZ            npszErrMsg = NULL;
    100     NPSZ            npszErrMsg2 = NULL;
     100    const char *    npszErrMsg2 = NULL;
    101101
    102102    /*
     
    132132                    npszErrMsg = "Ring-0 initiation failed. rc=%x\n";
    133133                    if (rc >= ERROR_D32_FIRST && rc <= ERROR_D32_LAST)
    134                         npszErrMsg2 = GetErrorMsg(data.usRcInit32 + ERROR_PROB_SYM_D32_FIRST - ERROR_D32_FIRST);
     134                        npszErrMsg2 =
     135                        GetErrorMsg(
     136                        data.usRcInit32
     137                        + ERROR_PROB_SYM_D32_FIRST
     138                        - ERROR_D32_FIRST
     139                        );
    135140                }
    136141            }
     
    289294    return rc;
    290295}
     296
  • trunk/src/win32k/dev16/d16strat.c

    r4185 r5283  
    1 /* $Id: d16strat.c,v 1.10 2000-09-04 16:40:48 bird Exp $
     1/* $Id: d16strat.c,v 1.11 2001-03-02 12:48:41 bird Exp $
    22 *
    33 * d16strat.c - 16-bit strategy routine, device headers, device_helper (ptr)
     
    3939*   Global Variables                                                           *
    4040*******************************************************************************/
     41extern DDHDR _far aDevHdrs[2];
    4142DDHDR aDevHdrs[2] = /* This is the first piece data in the driver!!!!!!! */
    4243{
    4344    {
    44         (unsigned long)(void _far *)(&aDevHdrs[1]), /* NextHeader */
     45        &aDevHdrs[1], /* NextHeader */
    4546        DEVLEV_3 | DEV_30 | DEV_CHAR_DEV,           /* SDevAtt */
    4647        (unsigned short)(void _near *)strategyAsm0, /* StrategyEP */
Note: See TracChangeset for help on using the changeset viewer.