From 478b313122da59af03233ad25d940637cb906b2d Mon Sep 17 00:00:00 2001 From: Patrice Levesque Date: Wed, 17 Feb 2016 11:05:24 -0500 Subject: [PATCH] Fix warning: distinct Objective-C type in return Method is supposed to return a WOResponse pointer, but currently returns a NSException pointer; typecast the return value, just like the archiveUIDs method does. --- SoObjects/Mailer/SOGoMailFolder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index df706e542..f66bfb258 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -895,7 +895,7 @@ _compareFetchResultsByMODSEQ (id entry1, id entry2, void *data) } } - return error; + return (WOResponse *) error; } - (NSDictionary *) statusForFlags: (NSArray *) flags