From b7c1e807f1bd3e225e1b7f062f20662a2e8b087e Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Wed, 2 Jul 2014 09:58:40 -0700 Subject: [PATCH] Fix type conversion narrowing error in C++11 (int to size_t) Change-Id: Iff0bd355a506504117263d24ce3a4830345973c3 --- media/file/file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/file/file.cc b/media/file/file.cc index f714a045d8..f637f49059 100644 --- a/media/file/file.cc +++ b/media/file/file.cc @@ -21,7 +21,7 @@ typedef File* (*FileFactoryFunction)(const char* file_name, const char* mode); struct SupportedTypeInfo { const char* type; - int type_length; + size_t type_length; const FileFactoryFunction factory_function; };