@@ -136,7 +136,7 @@ + (NSError *)appAttestAttestKeyFailedWithError:(NSError *)error
136
136
[NSString stringWithFormat: @" Failed to attest the validity of the generated cryptographic "
137
137
@" key (`attestKey:clientDataHash:completionHandler:`); "
138
138
@" keyId.length = %lu , clientDataHash.length = %lu " ,
139
- keyId.length, clientDataHash.length];
139
+ ( unsigned long ) keyId.length, ( unsigned long ) clientDataHash.length];
140
140
// TODO(#11967): Add a new error code for this case (e.g., FIRAppCheckAppAttestAttestKeyFailed).
141
141
return [self appCheckErrorWithCode: FIRAppCheckErrorCodeUnknown
142
142
failureReason: failureReason
@@ -150,7 +150,7 @@ + (NSError *)appAttestGenerateAssertionFailedWithError:(NSError *)error
150
150
stringWithFormat: @" Failed to create a block of data that demonstrates the legitimacy of the "
151
151
@" app instance (`generateAssertion:clientDataHash:completionHandler:`); "
152
152
@" keyId.length = %lu , clientDataHash.length = %lu ." ,
153
- keyId.length, clientDataHash.length];
153
+ ( unsigned long ) keyId.length, ( unsigned long ) clientDataHash.length];
154
154
// TODO(#11967): Add error code for this case (e.g., FIRAppCheckAppAttestGenerateAssertionFailed).
155
155
return [self appCheckErrorWithCode: FIRAppCheckErrorCodeUnknown
156
156
failureReason: failureReason
0 commit comments