[vlc-devel] [PATCH] Fixed warning on incompatible pointer types

Maxim Bublis b at codemonkey.ru
Mon Nov 18 08:44:51 CET 2013


---
 modules/gui/macosx/wizard.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m
index 082b1e9..fbe558c 100644
--- a/modules/gui/macosx/wizard.m
+++ b/modules/gui/macosx/wizard.m
@@ -1133,7 +1133,7 @@ static VLCWizard *_o_sharedInstance = nil;
                             z += 1;
                         }
                     }
-                    tempString = [NSString stringWithFormat: @"%@%@.%@",
+                    tempString = [NSMutableString stringWithFormat: @"%@%@.%@",
                         [o_t7_fld_filePath stringValue],
                         fileNameToUse, theEncapFormat];
                     if ([[NSFileManager defaultManager] fileExistsAtPath:
@@ -1144,7 +1144,7 @@ static VLCWizard *_o_sharedInstance = nil;
                         int additionalInt = 1;
                         while( additionalInt < 100)
                         {
-                            tempString = [NSString stringWithFormat:@"%@%@ %i.%@",
+                            tempString = [NSMutableString stringWithFormat:@"%@%@ %i.%@",
                                 [o_t7_fld_filePath stringValue],
                                 fileNameToUse, additionalInt, theEncapFormat];
                             if(! [[NSFileManager defaultManager]
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list