Changeset 1321 for trunk/dll/walkem.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/walkem.c

    r1228 r1321  
    11171117        APIRET rc;
    11181118
    1119         rc = DosQCurDir(toupper(*szBuffer) - '@', &szBuff[3], &ulDirLen);
     1119        rc = DosQCurDir(toupper(*szBuffer) - '@', (PBYTE)&szBuff[3], &ulDirLen);
    11201120        if (!rc) {
    11211121          strcpy(wa->szCurrentPath, "C:\\");
     
    15151515        APIRET rc;
    15161516
    1517         rc = DosQCurDir(toupper(*szBuffer) - '@', &szBuff[3], &ulDirLen);
     1517        rc = DosQCurDir(toupper(*szBuffer) - '@', (PBYTE)&szBuff[3], &ulDirLen);
    15181518        if (!rc) {
    15191519          strcpy(wa->szCurrentPath1, "C:\\");
     
    15801580        APIRET rc;
    15811581
    1582         rc = DosQCurDir(toupper(*szBuffer) - '@', &szBuff[3], &ulDirLen);
     1582        rc = DosQCurDir(toupper(*szBuffer) - '@', (PBYTE)&szBuff[3], &ulDirLen);
    15831583        if (!rc) {
    15841584          strcpy(wa->szCurrentPath2, "C:\\");
Note: See TracChangeset for help on using the changeset viewer.