Index: ppapi/thunk/ppb_gamepad_thunk.cc |
diff --git a/ppapi/thunk/ppb_gamepad_thunk.cc b/ppapi/thunk/ppb_gamepad_thunk.cc |
index 40ac32febb3498e7c51f6e3ae92c37178f5ddb09..e2f0160589bd6731f90406da25f91ab594b5385d 100644 |
--- a/ppapi/thunk/ppb_gamepad_thunk.cc |
+++ b/ppapi/thunk/ppb_gamepad_thunk.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// From ppb_gamepad.idl modified Mon Apr 1 08:24:03 2013. |
+// From ppb_gamepad.idl modified Wed Apr 17 11:16:00 2013. |
#include <string.h> |
@@ -27,7 +27,7 @@ void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) { |
enter.functions()->Sample(instance, data); |
return; |
} |
- memset(data, 0, sizeof(struct PP_GamepadsSampleData)); |
+ memset(data, 0, sizeof(*data)); |
} |
const PPB_Gamepad_1_0 g_ppb_gamepad_thunk_1_0 = { |