Fixed the 3 warnings specifis to 64 bits GCC build

- warnings revealed by issue 3
 - but also shown by Travis CI builds
This commit is contained in:
Sébastien Rombauts
2013-09-15 23:02:29 +02:00
parent ec3b042bf5
commit 466504aadb
3 changed files with 5 additions and 5 deletions

View File

@@ -291,7 +291,7 @@ int main (void)
{
char buffer[16*1024];
void* blob = &buffer;
size_t size = fread(blob, 1, 16*1024, fp);
int size = static_cast<int>(fread(blob, 1, 16*1024, fp));
buffer[size] = '\0';
fclose (fp);
std::cout << "blob size=" << size << " :\n";