From 8d3763d0bbaf192ad04976382abd2c77cf8236c1 Mon Sep 17 00:00:00 2001 From: "jst@mozilla.org" Date: Thu, 13 Mar 2008 17:48:20 -0700 Subject: [PATCH] Followup fix for bug 406251, make NPVariant.intValue be a signed int so negative ints can be passed through safely. r+sr=jonas@sicking.cc --- modules/plugin/base/public/npruntime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugin/base/public/npruntime.h b/modules/plugin/base/public/npruntime.h index 3e61396e8497..5a2dc75d1e9f 100644 --- a/modules/plugin/base/public/npruntime.h +++ b/modules/plugin/base/public/npruntime.h @@ -133,7 +133,7 @@ typedef struct _NPVariant { NPVariantType type; union { bool boolValue; - uint32_t intValue; + int32_t intValue; double doubleValue; NPString stringValue; NPObject *objectValue;