Skip to content

Commit ff06bd4

Browse files
author
ap4y
committed
wrong string formatter warning fixed
1 parent a3e1343 commit ff06bd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OrigamiEngine/Plugins/HTTPSource.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ - (BOOL)open:(NSURL *)url {
7878
_byteReaded = 0;
7979
_byteCount = 0;
8080

81-
[self prepareCache:[NSString stringWithFormat:@"%x.%@",
82-
[[url absoluteString] hash],
81+
[self prepareCache:[NSString stringWithFormat:@"%lx.%@",
82+
(unsigned long)[[url absoluteString] hash],
8383
url.pathExtension]];
8484

8585
_downloadingSemaphore = dispatch_semaphore_create(0);

0 commit comments

Comments
 (0)