Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: ppapi/c/ppb_gamepad.h

Issue 2394773002: Remove 'char' from IDL (Closed)
Patch Set: Remove 'char' from IDL Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/private/ppb_net_address_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_gamepad.h
diff --git a/ppapi/c/ppb_gamepad.h b/ppapi/c/ppb_gamepad.h
index 4beb9b8f1f8599bdc5e720d47633670f16564d9f..388ef631e276aed0bbf26200c50878ddf2f50f7c 100644
--- a/ppapi/c/ppb_gamepad.h
+++ b/ppapi/c/ppb_gamepad.h
@@ -64,7 +64,7 @@ struct PP_GamepadSampleData {
*/
PP_Bool connected;
/* Padding to make the struct the same size between 64 and 32. */
- char unused_pad_[4];
+ int8_t unused_pad_[4];
};
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_GamepadSampleData, 472);
@@ -77,7 +77,7 @@ struct PP_GamepadsSampleData {
*/
uint32_t length;
/* Padding to make the struct the same size between 64 and 32. */
- char unused_pad_[4];
+ int8_t unused_pad_[4];
/**
* Data for an individual gamepad device connected to the system.
*/
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/private/ppb_net_address_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698