Fix type conversion narrowing error in C++11 (int to size_t)

Change-Id: Iff0bd355a506504117263d24ce3a4830345973c3
This commit is contained in:
KongQun Yang 2014-07-02 09:58:40 -07:00
parent b3d7e7db93
commit b7c1e807f1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};