From 27100ac1f5bce45edf19c52d17f76a0c319aba9e Mon Sep 17 00:00:00 2001 From: Bill Welden Date: Tue, 8 Jan 2013 07:47:45 -0800 Subject: [PATCH] Fix a lint error. --- src/embind/embind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/embind/embind.js b/src/embind/embind.js index e02b9e014..1f8a66547 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);