Changeset 1321 for trunk/dll/copyf.c


Ignore:
Timestamp:
Dec 7, 2008, 2:48:06 AM (17 years ago)
Author:
Steven Levine
Message:

Rework casts variable types for OpenWatcom 1.8 compatibility
Add more FORTIFY support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r1222 r1321  
    352352
    353353    CHAR srce[CCHMAXPATHCOMP], dest[CCHMAXPATHCOMP], result[CCHMAXPATHCOMP],
    354       *p;
     354        *p;
    355355
    356356    p = strrchr(newname, '\\');
     
    361361        strcpy(srce, p + 1);
    362362        DosError(FERR_DISABLEHARDERR);
    363         if (!DosEditName(1L, srce, dest, result, (ULONG) sizeof(result))) {
     363        if (!DosEditName(1L, srce, dest, (PBYTE)result, (ULONG)sizeof(result))) {
    364364          p = strrchr(newname, '\\');
    365365          p++;
Note: See TracChangeset for help on using the changeset viewer.