aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Welden <bwelden@imvu.com>2013-01-08 10:34:03 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:23:02 +0300
commit2665a390d2ec975c9a516fc98761b96c07c38085 (patch)
treecd2499c7829e24ecba9c288d0e4cc614f0975e80
parentcfb3df1b48f9e1b9c59fd27e0d2608c7fe29a78e (diff)
Revert "Revert "Fix a lint error.""
This reverts commit 6bcd2b18c56448502c69bbfc960a3044c8955fd8.
-rwxr-xr-xsrc/embind/embind.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index e02b9e01..1f8a6654 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -439,7 +439,7 @@ RegisteredPointer.prototype.toWireTypeAutoUpcast = function(destructors, handle)
} else {
fromRawType = handle.pointeeType.rawType;
}
- if (fromRawType == this.pointeeType.rawType) {
+ if (fromRawType === this.pointeeType.rawType) {
return this.isSmartPointer ? handle.smartPointer : handle.ptr;
}
var ptr = ___staticPointerCast(handle.ptr, fromRawType, this.pointeeType.rawType);