Monotone-Parent: 928e56751cbed8eace530c7a0b87df535ad79dbc

Monotone-Revision: 9bf93635e40d613a05f206aeb8112565d864bdcd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-09T08:18:18
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-08-09 08:18:18 +00:00
parent 1d53776649
commit 2174d094e9
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,11 @@
2008-08-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/iCalEntityObject+SOGo.m
([iCalEntityObject
-quickRecordDateAsNumber:_datewithOffset:offsetforAllDay:allDay]):
changed the type of "seconds" to NSTimeInterval to avoid casting
errors on PPC.
* UI/MailPartViewers/UIxMailPartICalActions.m ([UIxMailPartICalActions -updateUserStatusAction])
([UIxMailPartICalActions -acceptAction])
([UIxMailPartICalActions -declineAction]): if the event doesn't

View File

@ -21,6 +21,7 @@
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSEnumerator.h>
#import <Foundation/NSString.h>
#import <Foundation/NSValue.h>
@ -170,7 +171,7 @@ _computeAllDayOffset()
withOffset: (int) offset
forAllDay: (BOOL) allDay
{
unsigned int seconds;
NSTimeInterval seconds;
NSNumber *dateNumber;
if (_date == iCalDistantFuture)
@ -181,7 +182,7 @@ _computeAllDayOffset()
if (allDay)
seconds += _computeAllDayOffset ();
dateNumber = [NSNumber numberWithUnsignedInt: seconds];
dateNumber = [NSNumber numberWithInt: seconds];
}
return dateNumber;