Changeset 43


Ignore:
Timestamp:
10/12/07 09:09:12 (7 years ago)
Author:
lowjoel
Message:

Fixed a few compile warnings.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/EraserDll/Eraser.cpp

    r40 r43  
    459459            break; 
    460460        default: 
    461             return mIn; 
     461            return (E_UINT8)mIn; 
    462462    } 
    463463} 
  • trunk/EraserDoc.cpp

    r41 r43  
    44// Eraser. Secure data removal. For Windows. 
    55// Copyright © 1997-2001  Sami Tolvanen (sami@tolvanen.com). 
     6// Copyright © 2007 The Eraser Project 
    67// 
    78// This program is free software; you can redistribute it and/or 
  • trunk/SchedulerView.cpp

    r31 r43  
    20502050{ 
    20512051    E_UINT8 res; 
    2052     old = old ^ 0x80; 
    2053     for(int i=0; i<5; i++) if (1<<i == old) res = i; 
     2052    old ^= 0x80; 
     2053    for(E_UINT8 i = 0; i < 5; i++) 
     2054        if (1 << i == old) 
     2055            res = i; 
    20542056    return res; 
    20552057} 
Note: See TracChangeset for help on using the changeset viewer.