summaryrefslogtreecommitdiff
path: root/tools/source/stream/strmwnt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/stream/strmwnt.cxx')
-rw-r--r--tools/source/stream/strmwnt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index 3b890fbfef1b..0dd1d2f1bd4b 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -87,7 +87,7 @@ static ErrCode GetSvError( DWORD nWntError )
{ ERROR_WRITE_PROTECT, SVSTREAM_ACCESS_DENIED },
{ ERROR_DISK_FULL, SVSTREAM_DISK_FULL },
- { (DWORD)0xFFFFFFFF, SVSTREAM_GENERALERROR }
+ { DWORD(0xFFFFFFFF), SVSTREAM_GENERALERROR }
};
ErrCode nRetVal = SVSTREAM_GENERALERROR; // default error
@@ -100,7 +100,7 @@ static ErrCode GetSvError( DWORD nWntError )
break;
}
i++;
- } while( errArr[i].wnt != (DWORD)0xFFFFFFFF );
+ } while( errArr[i].wnt != DWORD(0xFFFFFFFF) );
return nRetVal;
}