Changeset 884
- Timestamp:
- 4/18/2009 2:22:51 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
EraserDll/Eraser.cpp (modified) (2 diffs)
-
EraserDll/File.cpp (modified) (1 diff)
-
EraserDll/Random.cpp (modified) (4 diffs)
-
EraserDll/Random.h (modified) (1 diff)
-
EraserDll/Schneier7Pass.cpp (modified) (1 diff)
-
SchedulerView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/EraserDll/Eraser.cpp
r834 r884 142 142 TCHAR szNewName[MAX_PATH]; 143 143 PTCHAR pszLastSlash; 144 E_UINT32 i, j, length; 145 size_t index; 144 size_t index, i, j, length; 146 145 147 146 try { … … 2167 2166 2168 2167 // number of files to process 2169 context->m_uProgressWipedFiles = 0 ;2168 context->m_uProgressWipedFiles = 0u; 2170 2169 context->m_uProgressFiles = context->m_saData.GetSize(); 2171 2170 -
trunk/EraserDll/File.cpp
r393 r884 374 374 DataStreamArray streams; 375 375 DataStream defaultStream; 376 LPDWORD lpStatus = 0; 377 376 378 377 if (isWindowsNT) { 379 FileEncryptionStatus (context->m_strData,lpStatus); 380 if (lpStatus=(LPDWORD)FILE_IS_ENCRYPTED) { 378 DWORD cryptStatus = 0; 379 FileEncryptionStatus (context->m_strData, &cryptStatus); 380 if (cryptStatus == FILE_IS_ENCRYPTED) { 381 381 DecryptFile(context->m_strData,0); 382 382 } -
trunk/EraserDll/Random.cpp
r54 r884 103 103 static E_INT32 poolMixes = 0; 104 104 105 static E_UINT32isaacOutputPosition = 0;105 static UINT_PTR isaacOutputPosition = 0; 106 106 static LARGE_INTEGER lastCall; 107 107 … … 487 487 488 488 static void 489 clearBuffer(E_PUINT8 buffer, E_UINT32size)489 clearBuffer(E_PUINT8 buffer, UINT_PTR size) 490 490 { 491 491 if (size == 0) { … … 1811 1811 1812 1812 bool 1813 isaacFill(E_PUINT8 puBuffer, E_UINT32uSize)1813 isaacFill(E_PUINT8 puBuffer, UINT_PTR uSize) 1814 1814 { 1815 1815 if (!AfxIsValidAddress(puBuffer, uSize)) { … … 1821 1821 1822 1822 try { 1823 E_UINT32uAvailableData, uPosition = 0;1823 UINT_PTR uAvailableData, uPosition = 0; 1824 1824 E_PUINT8 puRandom = (E_PUINT8)isaacOutput; 1825 1825 while (uPosition < uSize) { -
trunk/EraserDll/Random.h
r286 r884 240 240 isaacSeed(); 241 241 bool 242 isaacFill(E_PUINT8, E_UINT32);242 isaacFill(E_PUINT8, UINT_PTR); 243 243 244 244 #endif -
trunk/EraserDll/Schneier7Pass.cpp
r26 r884 7 7 SCHNEIER_PASS_COUNT = 7 8 8 }; 9 typedef bool (*PFPassFillStrategy)(E_PUINT8, E_UINT32);10 static bool oneFill(E_PUINT8 pBuffer, E_UINT32bufferSize)9 typedef bool (*PFPassFillStrategy)(E_PUINT8, UINT_PTR); 10 static bool oneFill(E_PUINT8 pBuffer, UINT_PTR bufferSize) 11 11 { 12 12 memset(pBuffer, 1, bufferSize); 13 13 return true; 14 14 } 15 static bool zeroFill(E_PUINT8 pBuffer, E_UINT32bufferSize)15 static bool zeroFill(E_PUINT8 pBuffer, UINT_PTR bufferSize) 16 16 { 17 17 memset(pBuffer, 0, bufferSize); -
trunk/SchedulerView.cpp
r883 r884 523 523 { 524 524 int nItem; 525 INT_PTR iSize = pDoc->m_paScheduledTasks.GetSize();525 DWORD_PTR iSize = pDoc->m_paScheduledTasks.GetSize(); 526 526 DWORD_PTR nIndex; 527 527 CScheduleItem *psiItem = 0;
Note: See TracChangeset
for help on using the changeset viewer.
