From cc2051fd0d28d227369ce47349fa8a3a37d6a430 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 11 Feb 2013 21:34:03 +0100 Subject: [PATCH] fix compilation warning in main.m --- tools/templates/main.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/templates/main.m b/tools/templates/main.m index 7558570..f87ca6d 100644 --- a/tools/templates/main.m +++ b/tools/templates/main.m @@ -94,13 +94,13 @@ void export_orientation() { result = [result stringByAppendingString:item]; } - putenv([result UTF8String]); + putenv((char *)[result UTF8String]); //NSLog(@"Available orientation: %@", result); } void load_custom_builtin_importer() { static const char *custom_builtin_importer = \ - "import sys, imp\n" \ + "import sys, imp\n" \ "from os.path import exists, join\n" \ "class CustomBuiltinImporter(object):\n" \ " def find_module(self, fullname, mpath=None):\n" \