X-Git-Url: https://git.saurik.com/apple/cf.git/blobdiff_plain/b0e0750aaee7a1a2cd8e3aa918bd9fc756e9dfcf..cf7d2af96685aba74e84652f9ed1098e9253902e:/CFDate.h?ds=sidebyside diff --git a/CFDate.h b/CFDate.h index 4808f4b..b5c0de2 100644 --- a/CFDate.h +++ b/CFDate.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Apple Inc. All rights reserved. + * Copyright (c) 2009 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -21,7 +21,7 @@ * @APPLE_LICENSE_HEADER_END@ */ /* CFDate.h - Copyright (c) 1998-2007, Apple Inc. All rights reserved. + Copyright (c) 1998-2009, Apple Inc. All rights reserved. */ #if !defined(__COREFOUNDATION_CFDATE__) @@ -82,12 +82,12 @@ typedef struct { } CFGregorianUnits; enum { - kCFGregorianUnitsYears = (1 << 0), - kCFGregorianUnitsMonths = (1 << 1), - kCFGregorianUnitsDays = (1 << 2), - kCFGregorianUnitsHours = (1 << 3), - kCFGregorianUnitsMinutes = (1 << 4), - kCFGregorianUnitsSeconds = (1 << 5), + kCFGregorianUnitsYears = (1UL << 0), + kCFGregorianUnitsMonths = (1UL << 1), + kCFGregorianUnitsDays = (1UL << 2), + kCFGregorianUnitsHours = (1UL << 3), + kCFGregorianUnitsMinutes = (1UL << 4), + kCFGregorianUnitsSeconds = (1UL << 5), kCFGregorianAllUnits = 0x00FFFFFF }; typedef CFOptionFlags CFGregorianUnitFlags;