Add a cast to make x64 build on windows happy.

Originally committed to SVN as r5155.
This commit is contained in:
Amar Takhar 2011-01-09 02:49:49 +00:00
parent e1a59d307e
commit c2a81a5dd7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ UCDetect::UCDetect(const std::string &file): nsUniversalDetector(NS_FILTER_ALL)
char buf[512];
fp->read(buf, 512);
size_t bytes = (size_t)fp->gcount();
HandleData(buf, bytes);
HandleData(buf, (PRUint32)bytes);
}
}