diff options
author | Bill Welden <bwelden@imvu.com> | 2013-01-02 13:12:05 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:22:50 +0300 |
commit | ff79babe5d207214631fbb8520caf93bcd7dab82 (patch) | |
tree | e822b10d4224a523c0611c1a275c905547981a81 | |
parent | eac098fc2418d7c3c543daebdff8fd6c341312ce (diff) |
Fixed a lint error
-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 c0bceb9b..c9a6a4f6 100755 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -459,7 +459,7 @@ RegisteredPointer.prototype.getDynamicRawPointerType = function(ptr) { RegisteredPointer.prototype.getDynamicDowncastType = function(ptr) { var downcastType = null; var type = this.getDynamicRawPointerType(ptr); - if (type && type != this.pointeeType.rawType) { + if (type && type !== this.pointeeType.rawType) { var derivation = Module.__getDerivationPath(type, this.pointeeType.rawType); for (var i = 0; i < derivation.size(); i++) { downcastType = typeRegistry[derivation.at(i)]; |