From 7a77e28b9231463bfb11934f8915bdc7bce2b4b7 Mon Sep 17 00:00:00 2001 From: ylecollen Date: Mon, 19 Jan 2015 17:33:23 +0100 Subject: [PATCH] Fix a compilation warnings --- matrixConsole/matrixConsole/API/MediaManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrixConsole/matrixConsole/API/MediaManager.m b/matrixConsole/matrixConsole/API/MediaManager.m index 4f5ed2877..2e9991c05 100644 --- a/matrixConsole/matrixConsole/API/MediaManager.m +++ b/matrixConsole/matrixConsole/API/MediaManager.m @@ -293,7 +293,7 @@ static NSMutableDictionary* uploadTableById = nil; // update the path if the folder is provided if (folder.length > 0) { - path = [[MediaManager getCachePath] stringByAppendingPathComponent:[NSString stringWithFormat:@"%lu", folder.hash]]; + path = [[MediaManager getCachePath] stringByAppendingPathComponent:[NSString stringWithFormat:@"%lu", (unsigned long)folder.hash]]; } // create the folder it does not exist