From bddbd199e2330fd133a7ad9d5f9bd53e3d183c5c Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 23 Aug 2014 23:33:10 -0400 Subject: [PATCH] Type warning fixes. --- MasterPassword/ObjC/MPAppDelegate_Store.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MasterPassword/ObjC/MPAppDelegate_Store.m b/MasterPassword/ObjC/MPAppDelegate_Store.m index d732bc7e..42a50f97 100644 --- a/MasterPassword/ObjC/MPAppDelegate_Store.m +++ b/MasterPassword/ObjC/MPAppDelegate_Store.m @@ -622,14 +622,14 @@ PearlAssociatedObjectProperty( NSManagedObjectContext*, MainManagedObjectContext importAlgorithm = MPAlgorithmDefaultForBundleVersion( importBundleVersion ); } if ([headerName isEqualToString:@"Format"]) { - importFormat = [headerValue integerValue]; + importFormat = (NSUInteger)[headerValue integerValue]; if (importFormat >= [sitePatterns count]) { err( @"Unsupported import format: %lu", (unsigned long)importFormat ); return MPImportResultInternalError; } } if ([headerName isEqualToString:@"Avatar"]) - importAvatar = [headerValue integerValue]; + importAvatar = (NSUInteger)[headerValue integerValue]; if ([headerName isEqualToString:@"Passwords"]) { if ([headerValue isEqualToString:@"VISIBLE"]) clearText = YES;