pkgsrc-wip/chromium/patches/patch-ppapi_proxy_serialized__var.cc
Rui-Xiang Guo fa06d0f9e3 Update chromium to 10.0.648.205 that is based on the OpenBSD's ports with
modifying for *BSD support and additional NetBSD specific patches.
This version includes some security bug fixes.
2011-04-28 03:09:01 +00:00

13 lines
508 B
C++

$NetBSD: patch-ppapi_proxy_serialized__var.cc,v 1.1 2011/04/28 03:09:03 rxg Exp $
--- ppapi/proxy/serialized_var.cc.orig 2011-04-13 08:01:10.000000000 +0000
+++ ppapi/proxy/serialized_var.cc
@@ -189,7 +189,7 @@ bool SerializedVar::Inner::ReadFromMessa
var_.value.as_id = 0;
break;
case PP_VARTYPE_OBJECT:
- success = m->ReadInt64(iter, &var_.value.as_id);
+ success = m->ReadInt64(iter, (int64 *)&var_.value.as_id);
break;
default:
// Leave success as false.