You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by lg...@apache.org on 2014/04/28 15:32:31 UTC
svn commit: r1590631 - in /chemistry/objectivecmis/trunk/ObjectiveCMIS:
Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m Common/CMISEnums.m
Utils/CMISDefaultNetworkProvider.m Utils/CMISHttpRequest.m
Author: lgross
Date: Mon Apr 28 13:32:31 2014
New Revision: 1590631
URL: http://svn.apache.org/r1590631
Log:
Fixed some compiler warnings for 64bit architecture
Modified:
chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m
chemistry/objectivecmis/trunk/ObjectiveCMIS/Common/CMISEnums.m
chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISDefaultNetworkProvider.m
chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m
Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m?rev=1590631&r1=1590630&r2=1590631&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/AtomPubParser/CMISAtomEntryWriter.m Mon Apr 28 13:32:31 2014
@@ -202,7 +202,7 @@
}
default:
{
- CMISLogDebug(@"Property type did not match: %ld", propertyData.type);
+ CMISLogDebug(@"Property type did not match: %d", (int)propertyData.type);
break;
}
}
Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Common/CMISEnums.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Common/CMISEnums.m?rev=1590631&r1=1590630&r2=1590631&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Common/CMISEnums.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Common/CMISEnums.m Mon Apr 28 13:32:31 2014
@@ -39,7 +39,7 @@
includeRelationShipString = @"both";
break;
default:
- CMISLogError(@"Invalid enum type %d", includeRelationship);
+ CMISLogError(@"Invalid enum type %d", (int)includeRelationship);
break;
}
return includeRelationShipString;
@@ -59,7 +59,7 @@
unfileObjectString = @"delete";
break;
default:
- CMISLogError(@"Inavlid enum type %d", unfileObject);
+ CMISLogError(@"Inavlid enum type %d", (int)unfileObject);
break;
}
return unfileObjectString;
Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISDefaultNetworkProvider.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISDefaultNetworkProvider.m?rev=1590631&r1=1590630&r2=1590631&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISDefaultNetworkProvider.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISDefaultNetworkProvider.m Mon Apr 28 13:32:31 2014
@@ -302,7 +302,7 @@ completionBlock:(void (^)(CMISHttpRespon
httpMethod = @"PUT";
break;
default:
- CMISLogError(@"Invalid http request method: %d", httpRequestMethod);
+ CMISLogError(@"Invalid http request method: %d", (int)httpRequestMethod);
return nil;
}
Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m?rev=1590631&r1=1590630&r2=1590631&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Utils/CMISHttpRequest.m Mon Apr 28 13:32:31 2014
@@ -194,7 +194,7 @@ NSString * const kCMISExceptionVersionin
- (BOOL)checkStatusCodeForResponse:(CMISHttpResponse *)response httpRequestMethod:(CMISHttpRequestMethod)httpRequestMethod error:(NSError **)error
{
if ([CMISLog sharedInstance].logLevel == CMISLogLevelTrace) {
- CMISLogTrace(@"Response status code: %d", response.statusCode);
+ CMISLogTrace(@"Response status code: %d", (int)response.statusCode);
CMISLogTrace(@"Response body: %@", [[NSString alloc] initWithData:response.data encoding:NSUTF8StringEncoding]);
}