summaryrefslogtreecommitdiffstats
path: root/chrome/test/nacl
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-27 11:30:45 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-27 11:30:45 +0000
commit8392079c544c1f4faf4ad703fa0e76363ca72db9 (patch)
tree58ba013a9b87b4bd75ae3ce8cb88b1c49daaaa8d /chrome/test/nacl
parent8d88980ec2b828bddafcfda2e6b7e4cadb91da9f (diff)
downloadchromium_src-8392079c544c1f4faf4ad703fa0e76363ca72db9.zip
chromium_src-8392079c544c1f4faf4ad703fa0e76363ca72db9.tar.gz
chromium_src-8392079c544c1f4faf4ad703fa0e76363ca72db9.tar.bz2
clang/win: Fix a few warnings.
__THROW is not some magical thing, don't pretend it is. Don't add it to extern "C" functions. Replace it with "throw ()" on the functions where it's correct since it was defined to nothing on windows (the only place where this file is used). Fix an inconsequential enum constant mix-up in media (both enum constants evaluated to the same value, and the enums had the same size, so it shouldn't make a difference in practice, but the old code was comparing enum variables with enum constants from a different enum). BUG=82385 TBR=dalecurtis Review URL: https://codereview.chromium.org/419323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/nacl')
-rw-r--r--chrome/test/nacl/nacl_browsertest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/nacl/nacl_browsertest.cc b/chrome/test/nacl/nacl_browsertest.cc
index a9c73ab..197f1fb 100644
--- a/chrome/test/nacl/nacl_browsertest.cc
+++ b/chrome/test/nacl/nacl_browsertest.cc
@@ -174,7 +174,7 @@ base::FilePath::StringType NumberOfCoresAsFilePathString() {
SYSTEM_INFO system_info;
GetSystemInfo(&system_info);
#if TELEMETRY
- fprintf(stderr, "browser says nprocessors = %d\n",
+ fprintf(stderr, "browser says nprocessors = %lu\n",
system_info.dwNumberOfProcessors);
fflush(NULL);
#endif