aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Welden <bwelden@imvu.com>2013-01-08 09:44:16 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:22:58 +0300
commitf4480b5d9b8281911249eca0bff4fa86f249a467 (patch)
tree48e3be86837fb28db884ba70295add3bc0ad1d5a
parent27100ac1f5bce45edf19c52d17f76a0c319aba9e (diff)
Revert "Fix a lint error."
This reverts commit f7b63f2ed5f8fea7ed9c8d5b9116bc10bfbab7b7.
-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 1f8a6654..e02b9e01 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);