- fix a copy-and-paste-o
[WebKit-https.git] / JavaScriptCore / bindings / npruntime.cpp
index d762ff1092b2181f943f175c44e39476db603df0..756eb13b1442b613c11aab3e54bdd7c7635bddcd 100644 (file)
@@ -105,7 +105,7 @@ NPIdentifier _NPN_GetIntIdentifier(int32_t intid)
         if (!identifier) {
             identifier = (PrivateIdentifier*)malloc(sizeof(PrivateIdentifier));
             identifier->isString = false;
-            identifier->isString = intid;
+            identifier->value.number = intid;
 
             negativeOneAndZeroIdentifiers[intid + 1] = identifier;
         }