summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/objc/objc.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/objc/objc.swg b/Lib/objc/objc.swg
index 0454c25b9..7e1865026 100644
--- a/Lib/objc/objc.swg
+++ b/Lib/objc/objc.swg
@@ -144,7 +144,7 @@
%{ $1 = $input? true : false; %}
%typemap(in) bool * (bool temp), const bool * (bool temp), const bool & (bool temp), bool & (bool temp) {
- temp = ($input) ? true : false;
+ temp = (*$input) ? true : false;
$1 = &temp;
}