diff options
author | Bill Welden <bwelden@imvu.com> | 2013-01-08 09:44:16 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:22:58 +0300 |
commit | f4480b5d9b8281911249eca0bff4fa86f249a467 (patch) | |
tree | 48e3be86837fb28db884ba70295add3bc0ad1d5a | |
parent | 27100ac1f5bce45edf19c52d17f76a0c319aba9e (diff) |
Revert "Fix a lint error."
This reverts commit f7b63f2ed5f8fea7ed9c8d5b9116bc10bfbab7b7.
-rwxr-xr-x | src/embind/embind.js | 2 |
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); |