-rw-r--r-- | libopie2/opiepim/core/opimevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimevent.cpp b/libopie2/opiepim/core/opimevent.cpp index c656c3d..7bc6c32 100644 --- a/libopie2/opiepim/core/opimevent.cpp +++ b/libopie2/opiepim/core/opimevent.cpp @@ -69,9 +69,9 @@ int OCalendarHelper::ocurrence( const QDate& date ) int OCalendarHelper::dayOfWeek( char day ) { int dayOfWeek = 1; char i = OPimRecurrence::MON; - while ( !( i & day ) && i <= OPimRecurrence::SUN ) + while ( !( i & day ) && i <= static_cast<char>(OPimRecurrence::SUN) ) { i <<= 1; ++dayOfWeek; } |