diff options
author | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-10 02:12:33 +0000 |
---|---|---|
committer | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-10 02:12:33 +0000 |
commit | 7b9e39b5cccbefcaa94ce157865de67d7727fee6 (patch) | |
tree | e10b654b1024f292f747d5b5fb1eacbfae259eb7 /ppapi/native_client | |
parent | 202b5644a77bd7eb5ba5e912124f9e90236fd61f (diff) | |
download | chromium_src-7b9e39b5cccbefcaa94ce157865de67d7727fee6.zip chromium_src-7b9e39b5cccbefcaa94ce157865de67d7727fee6.tar.gz chromium_src-7b9e39b5cccbefcaa94ce157865de67d7727fee6.tar.bz2 |
Fix Native Client build that uses stricter warnings-as-errors
BUG= none
TEST= none
Review URL: http://codereview.chromium.org/7863013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client')
-rw-r--r-- | ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc index cf56272..f08ce4e 100644 --- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc +++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc @@ -4,6 +4,7 @@ #include "native_client/src/shared/ppapi_proxy/browser_globals.h" +#include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -215,7 +216,7 @@ const void* GetBrowserInterface(const char* interface_name) { PPB_SURFACE_3D_DEV_INTERFACE, PPB_LAYER_COMPOSITOR_DEV_INTERFACE }; - for (int i = 0; i < NACL_ARRAY_SIZE(disabled_interface_names); i++) { + for (size_t i = 0; i < NACL_ARRAY_SIZE(disabled_interface_names); i++) { if (strcmp(interface_name, disabled_interface_names[i]) == 0) return NULL; } |