mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-05 15:16:26 +00:00
Monotone-Parent: 928e56751cbed8eace530c7a0b87df535ad79dbc
Monotone-Revision: 9bf93635e40d613a05f206aeb8112565d864bdcd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-09T08:18:18 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user