Skip to content

Commit e951a40

Browse files
committed
deference NSError ** before printing.
1 parent 17413a2 commit e951a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCPackageDownload.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ - (BOOL)createFileHandle:(NSError **)error
282282

283283
if (!fileHandle)
284284
{
285-
CCLOG(@"[PACKAGE/DOWNLOAD][ERROR] %@, cannot open file for writing download %@", error, _tempPath);
285+
CCLOG(@"[PACKAGE/DOWNLOAD][ERROR] %@, cannot open file for writing download %@", *error, _tempPath);
286286
return NO;
287287
}
288288

0 commit comments

Comments
 (0)