mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 06:15: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:
@@ -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