Changeset 265 for trunk


Ignore:
Timestamp:
Feb 23, 2009, 4:47:00 PM (12 years ago)
Author:
Eugene Romanenko
Message:

small changes to make new openwatcom 1.8 happy

Location:
trunk/Lucide/SOURCE/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/makefile

    r260 r265  
    151151-bm
    152152-sg
     153-wcd=919
    153154-5
    154155-fp5
  • trunk/Lucide/SOURCE/gui/print.cpp

    r245 r265  
    401401        while ( ( rc != DEVESC_ERROR ) && ( rd = fread( buf, 1, PS_PRINT_BUF_SIZE, f ) ) != 0 )
    402402        {
    403             rc = DevEscape( hdcPrinter, DEVESC_RAWDATA, rd, (char *)buf, NULL, NULL );
     403            rc = DevEscape( hdcPrinter, DEVESC_RAWDATA, rd, (PBYTE)buf, NULL, NULL );
    404404            if ( ( rc == DEVESC_ERROR ) || abortPrinting ) {
    405405                splerr = true;
  • trunk/Lucide/SOURCE/gui/printDlg.cpp

    r243 r265  
    284284        LONG outSz = psetup->QueueInfo.pDriverData->cb;
    285285        LONG rc = DevEscape( hdcPrinterInfo, DEVESC_QUERYJOBPROPERTIES,
    286                              sizeof( DJP_ITEM ) * 2, (PCHAR)djp,
    287                              &outSz, (PCHAR)psetup->QueueInfo.pDriverData );
     286                             sizeof( DJP_ITEM ) * 2, (PBYTE)djp,
     287                             &outSz, (PBYTE)psetup->QueueInfo.pDriverData );
    288288
    289289        if ( ( rc == DEV_OK ) || ( rc == DEV_WARNING ) )
     
    328328        LONG outSz = psetup->QueueInfo.pDriverData->cb;
    329329        DevEscape( hdcPrinterInfo, DEVESC_SETJOBPROPERTIES,
    330                    sizeof( DJP_ITEM ) * 2, (PCHAR)djp,
    331                    &outSz, (PCHAR)psetup->QueueInfo.pDriverData );
     330                   sizeof( DJP_ITEM ) * 2, (PBYTE)djp,
     331                   &outSz, (PBYTE)psetup->QueueInfo.pDriverData );
    332332
    333333        DevCloseDC( hdcPrinterInfo );
     
    361361        LONG outSz = psetup->QueueInfo.pDriverData->cb;
    362362        LONG rc = DevEscape( hdcPrinterInfo, DEVESC_QUERYJOBPROPERTIES,
    363                              sizeof( DJP_ITEM ) * 2, (PCHAR)djp,
    364                              &outSz, (PCHAR)psetup->QueueInfo.pDriverData );
     363                             sizeof( DJP_ITEM ) * 2, (PBYTE)djp,
     364                             &outSz, (PBYTE)psetup->QueueInfo.pDriverData );
    365365
    366366        if ( ( rc == DEV_OK ) || ( rc == DEV_WARNING ) ) {
     
    396396        LONG outSz = psetup->QueueInfo.pDriverData->cb;
    397397        DevEscape( hdcPrinterInfo, DEVESC_SETJOBPROPERTIES,
    398                    sizeof( DJP_ITEM ) * 2, (PCHAR)djp,
    399                    &outSz, (PCHAR)psetup->QueueInfo.pDriverData );
     398                   sizeof( DJP_ITEM ) * 2, (PBYTE)djp,
     399                   &outSz, (PBYTE)psetup->QueueInfo.pDriverData );
    400400
    401401        DevCloseDC( hdcPrinterInfo );
Note: See TracChangeset for help on using the changeset viewer.